[gnome-builder] notification: fix leak of project id



commit ad7aa3a66aa7f2a853c6044791d41f317231bfbe
Author: Christian Hergert <chergert redhat com>
Date:   Fri May 10 10:20:20 2019 -0700

    notification: fix leak of project id

 src/plugins/notification/ide-notification-addin.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/plugins/notification/ide-notification-addin.c 
b/src/plugins/notification/ide-notification-addin.c
index 518204dca..c0a1f8a2b 100644
--- a/src/plugins/notification/ide-notification-addin.c
+++ b/src/plugins/notification/ide-notification-addin.c
@@ -71,11 +71,11 @@ ide_notification_addin_notify (IdeNotificationAddin *self,
 {
   g_autofree gchar *msg_body = NULL;
   g_autofree gchar *project_name = NULL;
+  g_autofree gchar *id = NULL;
   g_autoptr(GNotification) notification = NULL;
   g_autoptr(GIcon) icon = NULL;
   GtkApplication *app;
   const gchar *msg_title;
-  const gchar *id;
   IdeContext *context;
   GtkWindow *window;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]