Cleanup: remove useless call to `BKE_screen_free()` in screen deletion.

`BKE_libblock_free()` will call it itself.
This commit is contained in:
Bastien Montagne 2017-06-15 13:00:11 +02:00
parent ee5ed2ae26
commit ddb8330571
1 changed files with 0 additions and 1 deletions

View File

@ -1926,7 +1926,6 @@ ScrArea *ED_screen_state_toggle(bContext *C, wmWindow *win, ScrArea *sa, const s
ED_screen_set(C, sc);
BKE_screen_free(oldscreen);
BKE_libblock_free(CTX_data_main(C), oldscreen);
/* After we've restored back to SCREENNORMAL, we have to wait with