git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bfd63e
)
[s3]testparm: free the popt context when it is no longer used.
author
Michael Adam
<obnox@samba.org>
Sat, 27 Sep 2008 20:10:05 +0000
(22:10 +0200)
committer
Michael Adam
<obnox@samba.org>
Sat, 27 Sep 2008 20:28:25 +0000
(22:28 +0200)
Michael
source3/utils/testparm.c
patch
|
blob
|
history
diff --git
a/source3/utils/testparm.c
b/source3/utils/testparm.c
index 527db2d805330597ad2e4ca27fedccf820a53a86..ccbb2dd3918e4d2e3e3b8f90c894ad8417245cc6 100644
(file)
--- 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);