- Changed the file-list allocation to alloc all the memory we need
authorWayne Davison <wayned@samba.org>
Mon, 2 Feb 2004 05:06:36 +0000 (05:06 +0000)
committerWayne Davison <wayned@samba.org>
Mon, 2 Feb 2004 05:06:36 +0000 (05:06 +0000)
commita289addd96ee4510cac3676b8c119230c518e32c
tree5a196ebcf86bbc35245e54973d477af9be5f2aaa
parent13c5b463610baf30f9af52d32a7da6de1bdbaa53
- Changed the file-list allocation to alloc all the memory we need
  with one call, not with several mallocs and strdups.
- Got rid of string_area() stuff (as suggested in the "@todo").
- Enhanced free_file() to optionally free the whole struct or to
  clear it (since we don't need to do both).
- Don't zero out the other flist data when we're about to free it.
flist.c