summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-02-11 17:25:26 +0000
committerLuke Leighton <lkcl@samba.org>1999-02-11 17:25:26 +0000
commita71d268114abf0344251e6dbfa30a320f07eba8f (patch)
treedc22f2daf4042083993c8fd0d05ce6b6c319506a /source3
parent8b6b6b57b54aeafb915cf99e5610941ee1d464b8 (diff)
downloadsamba-a71d268114abf0344251e6dbfa30a320f07eba8f.tar.gz
samba-a71d268114abf0344251e6dbfa30a320f07eba8f.tar.bz2
samba-a71d268114abf0344251e6dbfa30a320f07eba8f.zip
uninitialised pointer being freed if lookupnames failed. oops.
(This used to be commit d77de868588b6291353fa7a426b6e5da4b5f2c49)
Diffstat (limited to 'source3')
-rw-r--r--source3/rpcclient/cmd_lsarpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpcclient/cmd_lsarpc.c b/source3/rpcclient/cmd_lsarpc.c
index de41f286f7..be148a7f1d 100644
--- a/source3/rpcclient/cmd_lsarpc.c
+++ b/source3/rpcclient/cmd_lsarpc.c
@@ -132,7 +132,7 @@ void cmd_lsa_lookup_names(struct client_info *info)
fstring srv_name;
int num_names = 0;
const char *names[10];
- DOM_SID *sids;
+ DOM_SID *sids = NULL;
int num_sids = 0;
#if 0
DOM_SID sid[10];