[grilo-plugins] [podcasts] Solved problem with null nodeTab
- From: Juan A. Suarez Romero <jasuarez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo-plugins] [podcasts] Solved problem with null nodeTab
- Date: Tue, 8 Jun 2010 10:43:33 +0000 (UTC)
commit 23b908b314f47819a688e913df3a6eafe7ed1819
Author: Juan A. Suarez Romero <jasuarez igalia com>
Date: Tue Jun 8 12:40:58 2010 +0200
[podcasts] Solved problem with null nodeTab
Reported by Xabier Rodriguez Calvar <xrcalvar igalia com>.
src/podcasts/grl-podcasts.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/podcasts/grl-podcasts.c b/src/podcasts/grl-podcasts.c
index e957425..bd3c5d0 100644
--- a/src/podcasts/grl-podcasts.c
+++ b/src/podcasts/grl-podcasts.c
@@ -922,7 +922,9 @@ parse_entry_idle (gpointer user_data)
/* Parse entry */
Entry *entry = g_slice_new0 (Entry);
- parse_entry (osp->doc, nodes->nodeTab[osp->parse_index], entry);
+ if (nodes->nodeTab) {
+ parse_entry (osp->doc, nodes->nodeTab[osp->parse_index], entry);
+ }
if (0) print_entry (entry);
/* Check if entry is valid */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]