CVS update: samba/source
Jeremy Allison
jra at samba.anu.edu.au
Sat Jan 24 12:26:19 EST 1998
Date: Saturday January 24, 1998 @ 12:26
Author: jra
Update of /data/cvs/samba/source
In directory samba:/tmp/cvs-serv28055
Modified Files:
loadparm.c
Log Message:
Fix for memory leak in loadparm.c - donated by Branko Cibej <branko.cibej at hermes.si>
I checked this out and it looks ok - the bzero() in init_service() was
overwriting the pointers pservice->szService and pservice->copymap
that should have been freed in copy_service() the line later. This
fix frees pservice->szService and pservice->copymap inside free_service()
and sets them to zero so they won't be freed again.
Jeremy.
More information about the samba-cvs
mailing list