diff options
author | Ernestas Kulik <ernestask@src.gnome.org> | 2016-08-13 09:51:11 +0300 |
---|---|---|
committer | Ernestas Kulik <ernestask@src.gnome.org> | 2016-08-13 11:26:51 +0300 |
commit | d316950258ae43908d0251dcaeb0e49d33b7eec3 (patch) | |
tree | 0d4a9fae9cd8242e14a4c659fc621b9ffb69b5b1 | |
parent | 7f2c4800fb325c3fb1b2092eb869348b9ad218c2 (diff) | |
download | nautilus-d316950258ae43908d0251dcaeb0e49d33b7eec3.tar.gz |
bookmark-list: null-initialize error pointer
A GError pointer was not being null-initialized, which can result in
crashes. This commit fixes that.
https://bugzilla.gnome.org/show_bug.cgi?id=768175
-rw-r--r-- | src/nautilus-bookmark-list.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nautilus-bookmark-list.c b/src/nautilus-bookmark-list.c index 2eeaec1de..c849c0106 100644 --- a/src/nautilus-bookmark-list.c +++ b/src/nautilus-bookmark-list.c @@ -414,7 +414,7 @@ save_callback (GObject *source_object, gpointer user_data) { NautilusBookmarkList *self = NAUTILUS_BOOKMARK_LIST (source_object); - GError *error; + GError *error = NULL; gboolean success; GFile *file; |