Explorar o código

GUI: free ViewPort instance on ViewDispatcher free. (#384)

あく %!s(int64=4) %!d(string=hai) anos
pai
achega
5866be8455
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      applications/gui/view_dispatcher.c

+ 2 - 0
applications/gui/view_dispatcher.c

@@ -30,6 +30,8 @@ void view_dispatcher_free(ViewDispatcher* view_dispatcher) {
         ViewDict_next(it);
     }
     ViewDict_clear(view_dispatcher->views);
+    // Free ViewPort
+    view_port_free(view_dispatcher->view_port);
     // Free dispatcher
     free(view_dispatcher);
 }