2.5
authorTon Roosendaal <ton@blender.org>
Sat, 31 Jan 2009 15:09:33 +0000 (15:09 +0000)
committerTon Roosendaal <ton@blender.org>
Sat, 31 Jan 2009 15:09:33 +0000 (15:09 +0000)
Crash fix on file read: one event-free too many :)

source/blender/windowmanager/intern/wm_event_system.c

index b3bf7d7ce03de1f22099fe4159f8e4f5f11abca4..faa8eda2f1738c710cbc24b6c2a6112f2494cb98 100644 (file)
@@ -797,7 +797,6 @@ void wm_event_do_handlers(bContext *C)
                        
                        /* fileread case */
                        if(CTX_wm_window(C)==NULL) {
-                               wm_event_free(event);
                                return;
                        }