summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-01-24 12:26:17 +0000
committerJeremy Allison <jra@samba.org>1998-01-24 12:26:17 +0000
commit0c376c3ee726ba0c61f5537738041b5fe3d6e805 (patch)
treea9669de662405d826b9ea045a1dde87e98a10e77 /docs
parent4f650dab6f867bda2beeeda71b2b97e75834853f (diff)
downloadsamba-0c376c3ee726ba0c61f5537738041b5fe3d6e805.tar.gz
samba-0c376c3ee726ba0c61f5537738041b5fe3d6e805.tar.bz2
samba-0c376c3ee726ba0c61f5537738041b5fe3d6e805.zip
Fix for memory leak in loadparm.c - donated by Branko Cibej <branko.cibej@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. (This used to be commit 0bcb00e2bad999df859fdff59ce720d34de9b1ad)
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions