Realloc leak
andreas moroder
claudiamoroder at st-ulrich.suedtirol.net
Fri Oct 12 08:03:04 GMT 2001
Hello,
in HEAD there are two Realloc memory leaks (result of Realloc is assigned to
the same variable passed to Realloc )
msdfs/msdfs.c line 398
pdata = Realloc(pdata,reply_size);
if(pdata == NULL) {
DEBUG(0,("malloc failed for Realloc!\n"));
return -1;
}
else *ppdata = pdata;
nsswitch/winbindd_group.c line 783
sam_entries = Realloc(sam_entries, new_size);
if (!sam_entries)
return WINBINDD_ERROR;
Bye
Andreas
More information about the samba-technical
mailing list