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:
authorCampbell Barton <ideasman42@gmail.com>2008-11-30 05:30:34 +0300
committerCampbell Barton <ideasman42@gmail.com>2008-11-30 05:30:34 +0300
commitbc99bbde21c7a941fc41b6b9426a61d41a3e99d1 (patch)
tree862eec20d6412e4c4ae6789ebfef1ee11e658bc5 /source/blender/makesrna
parent244cce0bd0e470b585a6a4f1bef3d2be9bae6aa0 (diff)
mistake in comparing pointers. (causing memfree prints)
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r--source/blender/makesrna/intern/rna_access.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_access.c b/source/blender/makesrna/intern/rna_access.c
index 5c1236e5fab..9f07d2a3311 100644
--- a/source/blender/makesrna/intern/rna_access.c
+++ b/source/blender/makesrna/intern/rna_access.c
@@ -996,7 +996,7 @@ int RNA_property_collection_lookup_string(PointerRNA *ptr, PropertyRNA *prop, co
found= 1;
}
- if(nameptr != name);
+ if ((char *)&name != nameptr)
MEM_freeN(nameptr);
if(found)