[epiphany/gnome-3-26] Plug leak in bookmarks code *properly*
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/gnome-3-26] Plug leak in bookmarks code *properly*
- Date: Sat, 23 Sep 2017 21:13:19 +0000 (UTC)
commit 2ad3c36902641e5afe3fed8e35c8325bb66b7dff
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 8559012..fa2544e 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]