diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-05-21 12:45:10 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-05-21 12:45:10 +0400 |
commit | 13bde6645bd2373c444279aff270a03ea92eef36 (patch) | |
tree | 79b2dd4cee155ec25eb4ed8184a8edc530d2c52b /source/blender/python/intern | |
parent | cd6b27f2b58aff46c9431bf7621e19bdb1b0b4c2 (diff) |
code cleanup: remove callbacks only added to wrap MEM_freeN
Diffstat (limited to 'source/blender/python/intern')
-rw-r--r-- | source/blender/python/intern/bpy_app_translations.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/source/blender/python/intern/bpy_app_translations.c b/source/blender/python/intern/bpy_app_translations.c index 782a05b68ce..e168bf33eb5 100644 --- a/source/blender/python/intern/bpy_app_translations.c +++ b/source/blender/python/intern/bpy_app_translations.c @@ -108,10 +108,7 @@ static void _ghashutil_keyfree(void *ptr) MEM_freeN((void *)key); } -static void _ghashutil_valfree(void *ptr) -{ - MEM_freeN(ptr); -} +#define _ghashutil_valfree MEM_freeN /***** Python's messages cache *****/ |