diff --git a/source/blender/makesrna/intern/rna_wm.c b/source/blender/makesrna/intern/rna_wm.c index a44816a5585..955b0f30fcc 100644 --- a/source/blender/makesrna/intern/rna_wm.c +++ b/source/blender/makesrna/intern/rna_wm.c @@ -605,7 +605,8 @@ static void rna_Operator_unregister(const bContext *C, StructRNA *type) WM_operatortype_remove(ot->idname); MEM_freeN(idname); - // RNA_struct_free(&BLENDER_RNA, type); // WM_operatortype_remove calls this + /* not to be confused with the RNA_struct_free that WM_operatortype_remove calls, they are 2 different srna's */ + RNA_struct_free(&BLENDER_RNA, type); /* update while blender is running */ if(C)