[Bf-blender-cvs] [02adf00d130] asset-metadata: Fix crash when changing file after "Create Asset"
Julian Eisel
noreply at git.blender.org
Sat Jul 4 15:16:42 CEST 2020
Commit: 02adf00d130be1540d744329eb6a71e865d8c2b7
Author: Julian Eisel
Date: Sat Jul 4 15:16:09 2020 +0200
Branches: asset-metadata
https://developer.blender.org/rB02adf00d130be1540d744329eb6a71e865d8c2b7
Fix crash when changing file after "Create Asset"
===================================================================
M source/blender/windowmanager/intern/wm_operator_type.c
===================================================================
diff --git a/source/blender/windowmanager/intern/wm_operator_type.c b/source/blender/windowmanager/intern/wm_operator_type.c
index 650d5bbe015..92910404d82 100644
--- a/source/blender/windowmanager/intern/wm_operator_type.c
+++ b/source/blender/windowmanager/intern/wm_operator_type.c
@@ -276,7 +276,7 @@ void WM_operatortype_last_properties_clear_all(void)
wmOperatorType *ot = BLI_ghashIterator_getValue(&iter);
if (ot->last_properties) {
- IDP_FreeProperty(ot->last_properties);
+ IDP_FreeProperty_ex(ot->last_properties, false);
ot->last_properties = NULL;
}
}
More information about the Bf-blender-cvs
mailing list