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:
authorJulian Eisel <julian@blender.org>2020-12-08 17:00:31 +0300
committerJulian Eisel <julian@blender.org>2020-12-08 17:00:31 +0300
commit2678953f699c27122d059eb8ab14e84a5be75c28 (patch)
treeba0c913a9a2d0a2ae5400eae6cb2c08d23da02b8 /source/blender/python
parent95b3c4c966f9baeb6f73b84568b7f03287e1a350 (diff)
Cleanup: Correct an own earlier commit to use an existing utility function
Didn't know this function existed, better to use it then to avoid verbosity.
Diffstat (limited to 'source/blender/python')
-rw-r--r--source/blender/python/intern/bpy_library_load.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/intern/bpy_library_load.c b/source/blender/python/intern/bpy_library_load.c
index 64590827933..c6f0fbd3a2b 100644
--- a/source/blender/python/intern/bpy_library_load.c
+++ b/source/blender/python/intern/bpy_library_load.c
@@ -227,7 +227,7 @@ static PyObject *_bpy_names(BPy_Library *self, int blocktype)
PyList_SET_ITEM(list, counter, PyUnicode_FromString((char *)l->link));
counter++;
}
- BLI_linklist_free(names, MEM_freeN); /* free linklist *and* each node's data */
+ BLI_linklist_freeN(names); /* free linklist *and* each node's data */
}
return list;