summaryrefslogtreecommitdiff
path: root/source3/lib/util_hnd.c
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-11-24 23:11:03 +0000
committerLuke Leighton <lkcl@samba.org>1999-11-24 23:11:03 +0000
commita70a4626df78965e1ad9c7f89f5d1c490e373ee0 (patch)
treeea252061104d838dd813ceee30d370017db5d5db /source3/lib/util_hnd.c
parent2803a72751cf511aa0b5e6745e1b169faa66f68a (diff)
downloadsamba-a70a4626df78965e1ad9c7f89f5d1c490e373ee0.tar.gz
samba-a70a4626df78965e1ad9c7f89f5d1c490e373ee0.tar.bz2
samba-a70a4626df78965e1ad9c7f89f5d1c490e373ee0.zip
service control manager API completed. svcenum -i works, but does not
do so twice. possible memory corruption, revolving around getopt(). (This used to be commit 7cacf8bd026f1ee274f1d352c68cf79cf4f3b499)
Diffstat (limited to 'source3/lib/util_hnd.c')
-rw-r--r--source3/lib/util_hnd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/lib/util_hnd.c b/source3/lib/util_hnd.c
index 8e4620f8dc..b32b3322b3 100644
--- a/source3/lib/util_hnd.c
+++ b/source3/lib/util_hnd.c
@@ -462,6 +462,7 @@ BOOL close_policy_hnd(POLICY_HND *hnd)
p->dev.cli->free(p->dev.cli->cli,
p->dev.cli->fnum);
}
+ free(p->dev.cli);
break;
}
}