diff options
author | Jeremy Allison <jra@samba.org> | 2006-03-06 19:27:16 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:10:58 -0500 |
commit | 9bb215fe68c2b6e1bbc90748ad28d3ba9491e4ac (patch) | |
tree | 96ce06092a85893177239a96f467ad56dcd7e054 /source3/nmbd | |
parent | cc6b2d086adab2e08e0e021079f734fbd1ace3cc (diff) | |
download | samba-9bb215fe68c2b6e1bbc90748ad28d3ba9491e4ac.tar.gz samba-9bb215fe68c2b6e1bbc90748ad28d3ba9491e4ac.tar.bz2 samba-9bb215fe68c2b6e1bbc90748ad28d3ba9491e4ac.zip |
r13882: Fix coverity CID bug #96. Missing free on error
exit path.
Jeremy.
(This used to be commit 95ef857c89a330ef4012ba3c10d2bbbbab112b34)
Diffstat (limited to 'source3/nmbd')
-rw-r--r-- | source3/nmbd/nmbd_winsserver.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/nmbd/nmbd_winsserver.c b/source3/nmbd/nmbd_winsserver.c index f6f9d743b5..198d90f35a 100644 --- 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; } |