From a1203b3d3bbdf3f851ffa5a903cf4fb9644e5943 Mon Sep 17 00:00:00 2001
From: Mohammed Sadiq <sadiq@sadiqpk.org>
Date: Thu, 4 Feb 2021 18:36:45 +0530
Subject: [PATCH] gapplication: Fix a memory leak

Conflict:NA
Reference:https://github.com/GNOME/glib/commit/a1203b3d3bbdf3f851ffa5a903cf4fb9644e5943

---
 gio/gapplication.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gio/gapplication.c b/gio/gapplication.c
index 1c560e5e8c..3720146af9 100644
--- a/gio/gapplication.c
+++ b/gio/gapplication.c
@@ -1091,6 +1091,7 @@ g_application_real_local_command_line (GApplication   *application,
   if (!options)
     {
       g_printerr ("%s\n", error->message);
+      g_error_free (error);
       *exit_status = 1;
       return TRUE;
     }
