[eog] Remove spurious g_object_unref
- From: Felix Riemann <friemann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [eog] Remove spurious g_object_unref
- Date: Sun, 12 Jun 2011 15:11:07 +0000 (UTC)
commit 757699b9e5f963dd7d8be7779fc8ca00b7d336e7
Author: Felix Riemann <friemann gnome org>
Date: Sun Jun 12 17:07:35 2011 +0200
Remove spurious g_object_unref
The released reference isn't owned by the job.
Could cause a segfault upon closing an EogWindow.
src/eog-jobs.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/eog-jobs.c b/src/eog-jobs.c
index f10d784..f415e6a 100644
--- a/src/eog-jobs.c
+++ b/src/eog-jobs.c
@@ -409,8 +409,6 @@ filter_files (GSList *files, GList **file_list, GList **error_list)
g_file_get_uri (file));
break;
}
-
- g_object_unref (file);
}
*file_list = g_list_reverse (*file_list);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]