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:
authorBastien Montagne <bastien@blender.org>2021-11-05 17:06:10 +0300
committerBastien Montagne <bastien@blender.org>2021-11-05 17:06:10 +0300
commita0f50c18900ed366a825457c553d2d6e383c1483 (patch)
tree0e77c6e98901bd0fbcf220af346a8039f68781f0 /source/blender/windowmanager
parent4e09fd76bcabb602f1bd31c2bbd5dd2b09e4b64a (diff)
parentda9785965611762f9922231eed9bc3c170cb2b9f (diff)
Merge branch 'blender-v3.0-release'
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r--source/blender/windowmanager/intern/wm_files_link.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_files_link.c b/source/blender/windowmanager/intern/wm_files_link.c
index 28af4049378..d373ecdac77 100644
--- a/source/blender/windowmanager/intern/wm_files_link.c
+++ b/source/blender/windowmanager/intern/wm_files_link.c
@@ -261,7 +261,7 @@ static WMLinkAppendDataItem *wm_link_append_data_item_add(WMLinkAppendData *lapp
const short idcode,
void *customdata)
{
- WMLinkAppendDataItem *item = BLI_memarena_alloc(lapp_data->memarena, sizeof(*item));
+ WMLinkAppendDataItem *item = BLI_memarena_calloc(lapp_data->memarena, sizeof(*item));
size_t len = strlen(idname) + 1;
item->name = BLI_memarena_alloc(lapp_data->memarena, len);