Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Genrich <daniel.genrich@gmx.net>2008-07-13 02:11:26 +0400
committerDaniel Genrich <daniel.genrich@gmx.net>2008-07-13 02:11:26 +0400
commit751aa3e12172f980634959760e51f73b3d85c0a2 (patch)
tree9b36c0be9b928ec44e1be6196be96c5a1368ef37 /source/blender/blenlib
parent572f1d88d2116bb87abd8173ab4971ab6dfdcc24 (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/blenlib')
-rw-r--r--source/blender/blenlib/intern/storage.c1
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);
}