summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}