summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-09-27 22:10:05 +0200
committerMichael Adam <obnox@samba.org>2008-09-27 22:28:25 +0200
commit628ee436a1104655616ea1b25f920a2d2d24099a (patch)
treea59d784969c877f159b815f75e5aceaa87700526 /source3
parent6bfd63e0104d3f8d57e20492e27fc280695bcbb1 (diff)
downloadsamba-628ee436a1104655616ea1b25f920a2d2d24099a.tar.gz
samba-628ee436a1104655616ea1b25f920a2d2d24099a.tar.bz2
samba-628ee436a1104655616ea1b25f920a2d2d24099a.zip
[s3]testparm: free the popt context when it is no longer used.
Michael
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/testparm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/utils/testparm.c b/source3/utils/testparm.c
index 527db2d805..ccbb2dd391 100644
--- a/source3/utils/testparm.c
+++ b/source3/utils/testparm.c
@@ -329,6 +329,8 @@ rameter is ignored when using CUPS libraries.\n",
cname = poptGetArg(pc);
caddr = poptGetArg(pc);
+ poptFreeContext(pc);
+
if ( cname && ! caddr ) {
printf ( "ERROR: You must specify both a machine name and an IP address.\n" );
return(1);