pank7-svc: some optimization, save one malloc