mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
r13882: Fix coverity CID bug #96. Missing free on error
exit path. Jeremy.
This commit is contained in:
parent
0dc37dd2d8
commit
95ef857c89
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user