From e608c83273db9a9535f7d020b991f6aaf5ca4106 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guido=20G=C3=BCnther?= Date: Mon, 13 Oct 2025 08:29:17 +0200 Subject: [PATCH] app: Use automatic cleanup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Guido Günther Part-of: --- src/main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main.c b/src/main.c index c97d607..3eabe43 100644 --- a/src/main.c +++ b/src/main.c @@ -33,7 +33,7 @@ int main (int argc, char **argv) { - GApplication *app; + g_autoptr (GApplication) app = NULL; int status; textdomain (GETTEXT_PACKAGE); @@ -44,7 +44,6 @@ main (int argc, app = G_APPLICATION (calls_application_new ()); status = g_application_run (app, argc, argv); - g_object_unref (app); return status; }