diff options
author | Jeremy Allison <jra@samba.org> | 2000-04-05 19:48:06 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-04-05 19:48:06 +0000 |
commit | d598f54c52a7ac9dcdffaf14602dfbed4ee28f2c (patch) | |
tree | 708f55dbb6bf972d5a15bbb3ba8d533692df1016 /source3/libsmb/nterr.c | |
parent | 974cf7d7c9d82a85a5006f3b688198ae02f91e90 (diff) | |
download | samba-d598f54c52a7ac9dcdffaf14602dfbed4ee28f2c.tar.gz samba-d598f54c52a7ac9dcdffaf14602dfbed4ee28f2c.tar.bz2 samba-d598f54c52a7ac9dcdffaf14602dfbed4ee28f2c.zip |
JF - you might want to look at this patch.
Went through and fixed up all failure possibilities. If something (malloc,
file open etc.) fails, then this code goes through and cleans up all allocated
resources on exit. This is the equivalent of a C++ destuctor for the allocated
structures. We need code to be written like this to pass purify tests.
Jeremy.
(This used to be commit b260ef7cb1fb2b1e4661cc54eab403eb01fbfc35)
Diffstat (limited to 'source3/libsmb/nterr.c')
0 files changed, 0 insertions, 0 deletions