[epiphany] Plug leak in bookmarks code *properly*
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] Plug leak in bookmarks code *properly*
- Date: Sat, 23 Sep 2017 21:13:02 +0000 (UTC)
commit 289eb7341fe611e5c01ebc61b14b117df2baa6a9
Author: Michael Catanzaro <mcatanzaro igalia com>
Date: Sat Sep 23 16:11:59 2017 -0500
Plug leak in bookmarks code *properly*
It's not NULL-safe. I should know this by now....
src/window-commands.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/window-commands.c b/src/window-commands.c
index c42fd6c..8f05398 100644
--- a/src/window-commands.c
+++ b/src/window-commands.c
@@ -172,9 +172,9 @@ get_firefox_profiles (void)
g_free (profile);
g_free (line);
} while (length != 0);
- }
- g_io_channel_unref (channel);
+ g_io_channel_unref (channel);
+ }
return profiles;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]