diff options
author | Daniel Genrich <daniel.genrich@gmx.net> | 2008-07-13 02:11:26 +0400 |
---|---|---|
committer | Daniel Genrich <daniel.genrich@gmx.net> | 2008-07-13 02:11:26 +0400 |
commit | 751aa3e12172f980634959760e51f73b3d85c0a2 (patch) | |
tree | 9b36c0be9b928ec44e1be6196be96c5a1368ef37 /source/blender | |
parent | 572f1d88d2116bb87abd8173ab4971ab6dfdcc24 (diff) |
Fixing the fix: Sometimes, Valgrind sees memory leaks where noone is - especially with external used memory managers like in this case (and Python case)
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenlib/intern/storage.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/storage.c b/source/blender/blenlib/intern/storage.c index fbcc56ac21d..ca7a376d3a2 100644 --- a/source/blender/blenlib/intern/storage.c +++ b/source/blender/blenlib/intern/storage.c @@ -382,7 +382,6 @@ void BLI_adddirstrings() pwuser = getpwuid(files[num].s.st_uid); if ( pwuser ) { strcpy(files[num].owner, pwuser->pw_name); - free(pwuser); } else { sprintf(files[num].owner, "%d", files[num].s.st_uid); } |