From dd98a4acb1c795da2125e853b12f0dd077d8bf6e Mon Sep 17 00:00:00 2001 From: daleclack Date: Sun, 29 Nov 2020 22:43:38 +0800 Subject: [PATCH] Update gtk18 --- Gtk3/gtk18/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Gtk3/gtk18/main.cpp b/Gtk3/gtk18/main.cpp index 79dd61c..43707c1 100644 --- a/Gtk3/gtk18/main.cpp +++ b/Gtk3/gtk18/main.cpp @@ -42,5 +42,6 @@ int main(int argc,char *argv[]){ app=gtk_application_new("com.github.daleclack.gtk18",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; }