diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-12-26 23:25:02 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-12-26 23:25:02 +0300 |
commit | 254fc41b56e8c4f828e9721a045c8c5108044d0a (patch) | |
tree | c7af30dbf466b6e6e0e5b7bede59401f90296238 /source | |
parent | da078552d40c884bc8867828716c32404390590f (diff) |
UI: fix potential crasher in UI panel commit.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/interface/interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface.c b/source/blender/editors/interface/interface.c index 574cfb11ae5..534f13b984f 100644 --- a/source/blender/editors/interface/interface.c +++ b/source/blender/editors/interface/interface.c @@ -1391,8 +1391,8 @@ void uiFreeInactiveBlocks(const bContext *C, ListBase *lb) if(!block->handle) { if(!block->active) { - uiFreeBlock(C, block); BLI_remlink(lb, block); + uiFreeBlock(C, block); } else block->active= 0; |