[grilo-plugins] filesystem: Prevent critical on unreadable dir
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo-plugins] filesystem: Prevent critical on unreadable dir
- Date: Wed, 11 Jul 2012 09:58:09 +0000 (UTC)
commit 7e277cde31401b8e6d6395ec6e00743de82f950d
Author: Jens Georg <jensg openismus com>
Date: Wed Jul 11 11:14:03 2012 +0200
filesystem: Prevent critical on unreadable dir
g_file_enumerate_children* is supposed to return NULL if error is not
NULL
src/media/filesystem/grl-filesystem.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/media/filesystem/grl-filesystem.c b/src/media/filesystem/grl-filesystem.c
index 5e524c1..9110f9e 100644
--- a/src/media/filesystem/grl-filesystem.c
+++ b/src/media/filesystem/grl-filesystem.c
@@ -884,7 +884,6 @@ recursive_operation_got_entry (GFile *directory, GAsyncResult *res, RecursiveOpe
if (error) {
GRL_WARNING ("Got error: %s", error->message);
g_error_free (error);
- g_object_unref (enumerator);
/* we couldn't get the children of this directory, but we probably have
* other directories to try */
recursive_entry_free (g_queue_pop_head (operation->directories));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]