git.samba.org
/
tprouty
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc6b2d0
)
r13882: Fix coverity CID bug #96. Missing free on error
author
Jeremy Allison
<jra@samba.org>
Mon, 6 Mar 2006 19:27:16 +0000
(19:27 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 16:10:58 +0000
(11:10 -0500)
exit path.
Jeremy.
(This used to be commit
95ef857c89a330ef4012ba3c10d2bbbbab112b34
)
source3/nmbd/nmbd_winsserver.c
patch
|
blob
|
history
diff --git
a/source3/nmbd/nmbd_winsserver.c
b/source3/nmbd/nmbd_winsserver.c
index f6f9d743b590961b9fb089bad3e0c09125962981..198d90f35a15ee9d5d6e4eddba762780ff9f4033 100644
(file)
--- a/
source3/nmbd/nmbd_winsserver.c
+++ b/
source3/nmbd/nmbd_winsserver.c
@@
-645,6
+645,7
@@
BOOL initialise_wins(void)
/* Allocate the space for the ip_list. */
if((ip_list = SMB_MALLOC_ARRAY( struct in_addr, num_ips)) == NULL) {
DEBUG(0,("initialise_wins: Malloc fail !\n"));
+ x_fclose(fp);
return False;
}