git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc77ee5
)
wbinfo: Fix Coverity ID 242685 Resource leak
author
Volker Lendecke
<vl@samba.org>
Tue, 15 May 2012 17:48:42 +0000
(19:48 +0200)
committer
Volker Lendecke
<vl@samba.org>
Tue, 15 May 2012 20:03:24 +0000
(22:03 +0200)
nsswitch/wbinfo.c
patch
|
blob
|
history
diff --git
a/nsswitch/wbinfo.c
b/nsswitch/wbinfo.c
index e7f902f08b160dba87e0fae8a43ae3e4f9258d16..357673f81ce361cd8e3ce16beead90146b4f5bc9 100644
(file)
--- a/
nsswitch/wbinfo.c
+++ b/
nsswitch/wbinfo.c
@@
-1389,6
+1389,7
@@
static bool wbinfo_lookup_sids(const char *arg)
domains[names[i].domain_index].short_name,
names[i].name, names[i].type);
}
+ wbcFreeMemory(names);
return true;
}