1
0
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:
Jeremy Allison 2006-03-06 19:27:16 +00:00 committed by Gerald (Jerry) Carter
parent 0dc37dd2d8
commit 95ef857c89

View File

@ -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;
}