[gnome-flashback] desktop: fix memory leak
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gnome-flashback] desktop: fix memory leak
- Date: Thu, 23 Apr 2020 20:24:41 +0000 (UTC)
commit e7abb3f4c92573b3896c3659486bd8b47dbfd205
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Thu Apr 23 23:23:32 2020 +0300
    desktop: fix memory leak
 gnome-flashback/libdesktop/gf-icon.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnome-flashback/libdesktop/gf-icon.c b/gnome-flashback/libdesktop/gf-icon.c
index 77c6fcc..a89ec9f 100644
--- a/gnome-flashback/libdesktop/gf-icon.c
+++ b/gnome-flashback/libdesktop/gf-icon.c
@@ -280,7 +280,7 @@ drag_data_get_cb (GtkWidget        *widget,
 
       uris = get_selected_uris (self);
       gtk_selection_data_set_uris (data, uris);
-      g_free (uris);
+      g_strfreev (uris);
     }
 }
 
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]