X-Git-Url: https://git.hcoop.net/hcoop/debian/courier-authlib.git/blobdiff_plain/ac40fd9eb9d1980c90dc009d526a23ead1ec0f76..8d138742ae268344f406cb75d79aa6bf853f9d87:/authpipe.c?pf=hcoop%2Fdebian diff --git a/authpipe.c b/authpipe.c index 2b7c807..48202af 100644 --- a/authpipe.c +++ b/authpipe.c @@ -62,7 +62,10 @@ int auth_pipe(const char *service, const char *authtype, char *authdata, strcat(buf, authdata); if (getPipe(&rdfd, &wrfd)) + { + free(buf); return 1; + } rc=_authdaemondo(wrfd, rdfd, buf, callback_func, callback_arg); free(buf); if (rc > 0) closePipe();