diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-07-30 03:18:18 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-07-30 03:18:18 +0400 |
commit | e5a668ea9b099198fd7bafae46924f8d0e61f55e (patch) | |
tree | 7623825f81ec3e0d3ce091433ae232b1ba0cbc73 /source/blender | |
parent | 239b78c6377c41ba49e36a1dbd3cede6a3347f64 (diff) |
error in last comit
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/interface/interface_regions.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/interface/interface_regions.c b/source/blender/editors/interface/interface_regions.c index 94442c5de22..a6822618f0f 100644 --- a/source/blender/editors/interface/interface_regions.c +++ b/source/blender/editors/interface/interface_regions.c @@ -394,7 +394,7 @@ ARegion *ui_tooltip_create(bContext *C, ARegion *butregion, uiBut *but) else if (but->optype) { PointerRNA *opptr; char *str; - opptr= uiButGetOperatorPtrRNA(but); + opptr= uiButGetOperatorPtrRNA(but); /* allocated when needed, the button owns it */ str= WM_operator_pystring(but->optype, opptr); @@ -403,7 +403,6 @@ ARegion *ui_tooltip_create(bContext *C, ARegion *butregion, uiBut *but) data->linedark[data->totline]= 1; data->totline++; - WM_operator_properties_free(opptr); MEM_freeN(str); } |