diff --git a/Gtk3/gtk19/main.cpp b/Gtk3/gtk19/main.cpp index f61ef9d..c3eb2b8 100644 --- a/Gtk3/gtk19/main.cpp +++ b/Gtk3/gtk19/main.cpp @@ -47,5 +47,6 @@ int main(int argc,char *argv[]) app=gtk_application_new("com.github.daleclack.gtk19",G_APPLICATION_FLAGS_NONE); g_signal_connect(app,"activate",G_CALLBACK(activate),NULL); status=g_application_run(G_APPLICATION(app),argc,argv); + g_object_unref(app); return status; }