From 5be9458de0fe21aaebd43cee6fd0c084b4464a68 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Wed, 4 Nov 2015 01:31:20 -0200 Subject: content-parser: implemented youtube directive --- src/utils/trie.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utils') diff --git a/src/utils/trie.c b/src/utils/trie.c index 72a62f6..db64e1d 100644 --- a/src/utils/trie.c +++ b/src/utils/trie.c @@ -110,7 +110,7 @@ clean: void* b_trie_lookup(b_trie_t *trie, const char *key) { - if (trie->root == NULL || key == NULL) + if (trie == NULL || trie->root == NULL || key == NULL) return NULL; b_trie_node_t *parent = trie->root; -- cgit v1.2.3-18-g5258