diff options
author | Andrew Tridgell <tridge@samba.org> | 2007-05-18 06:53:57 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:52:36 -0500 |
commit | 2ad24b9ba191ed9d2b77dbf3f667504e05bc9707 (patch) | |
tree | 81f71243c4c8665e3bc48ee81460af873423f2a9 /source4/lib/replace/test | |
parent | fe0b8a5df42109dee44743e29c2e6e42565ff5c5 (diff) | |
download | samba-2ad24b9ba191ed9d2b77dbf3f667504e05bc9707.tar.gz samba-2ad24b9ba191ed9d2b77dbf3f667504e05bc9707.tar.bz2 samba-2ad24b9ba191ed9d2b77dbf3f667504e05bc9707.zip |
r22988: fixed 2 bugs in our unsetenv() replacement code
1) you must not free the memory, as it is possible the memory did not
come from malloc (try it under valgrind to test)
2) the old code didn't cope with duplicate environment variables
I hope this will fix some of the build farm errors on irix, and maybe solaris
(This used to be commit ec6900171d066e927f004b621fb39cc7b8dcfd90)
Diffstat (limited to 'source4/lib/replace/test')
0 files changed, 0 insertions, 0 deletions