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