From 913a323623be8fb23f1c21be0d35463ca8a0935a Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 4 Jun 2008 02:44:24 +0200 Subject: net: fix popt context memleak. Guenther (This used to be commit 60bce925746590aabf489f0c771afd732c32f5a0) --- source3/utils/net.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source3/utils/net.c b/source3/utils/net.c index 99e1e0c889..d8b8317d2f 100644 --- a/source3/utils/net.c +++ b/source3/utils/net.c @@ -567,6 +567,8 @@ static struct functable net_func[] = { libnetapi_free(c->netapi_ctx); + poptFreeContext(pc); + TALLOC_FREE(frame); return rc; } -- cgit