[grilo] core: Check valid options in operations
- From: Juan A. Suarez Romero <jasuarez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo] core: Check valid options in operations
- Date: Wed, 17 Oct 2012 09:13:58 +0000 (UTC)
commit 52da21f5443079fb0d5d049c38e127925281802f
Author: Juan A. Suarez Romero <jasuarez igalia com>
Date: Wed Oct 17 09:11:05 2012 +0000
core: Check valid options in operations
https://bugzilla.gnome.org/show_bug.cgi?id=686033
src/grl-source.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/grl-source.c b/src/grl-source.c
index 664b862..4814654 100644
--- a/src/grl-source.c
+++ b/src/grl-source.c
@@ -3019,6 +3019,7 @@ grl_source_resolve (GrlSource *source,
g_return_val_if_fail (callback != NULL, 0);
g_return_val_if_fail (grl_source_supported_operations (source) &
GRL_OP_RESOLVE, 0);
+ g_return_val_if_fail (options != NULL, 0);
g_return_val_if_fail (check_options (source, GRL_OP_RESOLVE, options), 0);
if (!media) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]