git.samba.org
/
gd
/
samba
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d79117
)
r13889: Fix resource leak on error path. Coverity bug CID #73.
author
Jeremy Allison
<jra@samba.org>
Mon, 6 Mar 2006 19:48:00 +0000
(19:48 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 16:10:58 +0000
(11:10 -0500)
Jeremy.
(This used to be commit
46e10980927f1dfa4a1995e778df880cf823cbdb
)
source3/libsmb/namequery.c
patch
|
blob
|
history
diff --git
a/source3/libsmb/namequery.c
b/source3/libsmb/namequery.c
index 1520e6cec20d3351e80fc5b043032e630cd876eb..6449de0e0ec96fef35ad5465dd51ff66ffe65906 100644
(file)
--- a/
source3/libsmb/namequery.c
+++ b/
source3/libsmb/namequery.c
@@
-960,6
+960,7
@@
static BOOL resolve_lmhosts(const char *name, int name_type,
(*return_count)+1);
if ((*return_iplist) == NULL) {
+ endlmhosts(fp);
DEBUG(3,("resolve_lmhosts: malloc fail !\n"));
return False;
}