[grilo] test-ui: Fixed a crash when searching in all sources
- From: Juan A. Suarez Romero <jasuarez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo] test-ui: Fixed a crash when searching in all sources
- Date: Tue, 9 Oct 2012 11:58:38 +0000 (UTC)
commit 44abc6be32a8689e890f50b77a6301dd83257cab
Author: Juan A. Suarez Romero <jasuarez igalia com>
Date: Tue Oct 9 11:57:59 2012 +0000
test-ui: Fixed a crash when searching in all sources
Unreffing a variable in wrong place.
tools/grilo-test-ui/main.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tools/grilo-test-ui/main.c b/tools/grilo-test-ui/main.c
index af7c1ac..1bc17f1 100644
--- a/tools/grilo-test-ui/main.c
+++ b/tools/grilo-test-ui/main.c
@@ -1185,6 +1185,7 @@ search (GrlSource *source, const gchar *text)
supported_options,
browse_search_query_cb,
state);
+ g_object_unref (supported_options);
} else {
/* Multiple search (all sources) */
multiple = TRUE;
@@ -1196,7 +1197,6 @@ search (GrlSource *source, const gchar *text)
browse_search_query_cb,
state);
}
- g_object_unref (supported_options);
clear_panes ();
operation_started (source, search_id, multiple);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]