Drag and drop 2.5 integration! Finally, slashdot regulars can use
[blender-staging.git] / source / blender / windowmanager / intern / wm.c
index ee1d76020c20a7d1f072dae7ecab184b8f5434b9..7f4bb59bbae41df888fbc41aa26a08200698f002 100644 (file)
@@ -298,6 +298,7 @@ void wm_close_and_free(bContext *C, wmWindowManager *wm)
        BLI_freelistN(&wm->queue);
        
        BLI_freelistN(&wm->paintcursors);
+       BLI_freelistN(&wm->drags);
        BKE_reports_clear(&wm->reports);
        
        if(C && CTX_wm_manager(C)==wm) CTX_wm_manager_set(C, NULL);