summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-06-04 02:44:24 +0200
committerGünther Deschner <gd@samba.org>2008-06-04 02:44:24 +0200
commit913a323623be8fb23f1c21be0d35463ca8a0935a (patch)
tree6568f63c6ec26b7f940a6107edc62f9b2ea15dea /source3
parentdddc5725dbb1acb6a2c0379e072fce8e42801548 (diff)
downloadsamba-913a323623be8fb23f1c21be0d35463ca8a0935a.tar.gz
samba-913a323623be8fb23f1c21be0d35463ca8a0935a.tar.bz2
samba-913a323623be8fb23f1c21be0d35463ca8a0935a.zip
net: fix popt context memleak.
Guenther (This used to be commit 60bce925746590aabf489f0c771afd732c32f5a0)
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/net.c2
1 files changed, 2 insertions, 0 deletions
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;
}