[epiphany/gnome-3-26] Plug leak in bookmarks import code
- From: Michael Catanzaro <mcatanzaro src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [epiphany/gnome-3-26] Plug leak in bookmarks import code
 
- Date: Sat, 23 Sep 2017 19:20:32 +0000 (UTC)
 
commit 262c2a1308739092cee88b32c7e5be735f2634b2
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Sat Sep 23 14:09:14 2017 -0500
    Plug leak in bookmarks import code
    
    Discovered by Daniel Boles
 src/window-commands.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/window-commands.c b/src/window-commands.c
index b838039..8559012 100644
--- a/src/window-commands.c
+++ b/src/window-commands.c
@@ -174,6 +174,8 @@ get_firefox_profiles (void)
     } while (length != 0);
   }
 
+  g_io_channel_unref (channel);
+
   return profiles;
 }
 
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]