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/blenkernel/intern | |
parent | cd6b27f2b58aff46c9431bf7621e19bdb1b0b4c2 (diff) |
code cleanup: remove callbacks only added to wrap MEM_freeN
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/customdata.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/source/blender/blenkernel/intern/customdata.c b/source/blender/blenkernel/intern/customdata.c index 75000ec440b..99ee6a803c8 100644 --- a/source/blender/blenkernel/intern/customdata.c +++ b/source/blender/blenkernel/intern/customdata.c @@ -215,12 +215,6 @@ static void layerFree_bmesh_elem_py_ptr(void *data, int count, int size) } } - -static void linklist_free_simple(void *link) -{ - MEM_freeN(link); -} - static void layerInterp_mdeformvert(void **sources, const float *weights, const float *UNUSED(sub_weights), int count, void *dest) { @@ -281,7 +275,7 @@ static void layerInterp_mdeformvert(void **sources, const float *weights, else memset(dvert, 0, sizeof(*dvert)); - BLI_linklist_free(dest_dw, linklist_free_simple); + BLI_linklist_free(dest_dw, MEM_freeN); } static void layerCopy_tface(const void *source, void *dest, int count) |