summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-04-04 04:29:09 +0000
committerTim Potter <tpot@samba.org>2002-04-04 04:29:09 +0000
commit29e67cad0552fd89c8f59e8e90523347addb6660 (patch)
tree42fafd873b0022a5be5e75417c295f144cab3d17
parent18d011d736fbac006735e5a45e9a815fd71f8fb2 (diff)
downloadsamba-29e67cad0552fd89c8f59e8e90523347addb6660.tar.gz
samba-29e67cad0552fd89c8f59e8e90523347addb6660.tar.bz2
samba-29e67cad0552fd89c8f59e8e90523347addb6660.zip
Free popt context after argument parsing.
(This used to be commit f287f62962feca6dac8747d16676dc64723eb5b1)
-rw-r--r--source3/rpcclient/rpcclient.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c
index ac5b38ee13..193c27e8a0 100644
--- a/source3/rpcclient/rpcclient.c
+++ b/source3/rpcclient/rpcclient.c
@@ -708,6 +708,8 @@ static void usage(void)
}
}
+ poptFreeContext(pc);
+
/* the following functions are part of the Samba debugging
facilities. See lib/debug.c */
setup_logging("rpcclient", interactive);