diff options
author | Luke Leighton <lkcl@samba.org> | 1999-11-24 23:11:03 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-11-24 23:11:03 +0000 |
commit | a70a4626df78965e1ad9c7f89f5d1c490e373ee0 (patch) | |
tree | ea252061104d838dd813ceee30d370017db5d5db /source3/lib/util_hnd.c | |
parent | 2803a72751cf511aa0b5e6745e1b169faa66f68a (diff) | |
download | samba-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.c | 1 |
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; } } |