[epiphany] Plug leak in bookmarks import code



commit f45be80e8cdee3a92e1288166a57af84243e5d74
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 857dc48..c42fd6c 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]