]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
idnode: add missing is_array initialization to idnode_set_clear(), fixes #3524
authorJaroslav Kysela <perex@perex.cz>
Sat, 23 Jan 2016 08:49:01 +0000 (09:49 +0100)
committerJaroslav Kysela <perex@perex.cz>
Sat, 23 Jan 2016 08:49:01 +0000 (09:49 +0100)
src/idnode.c

index d7f1642aae3709473c42cda690b5bf5c94b613df..73634fa5158f9c355da72e42565bed881e73e638 100644 (file)
@@ -1064,6 +1064,7 @@ void
 idnode_set_clear ( idnode_set_t *is )
 {
   free(is->is_array);
+  is->is_array = NULL;
   is->is_count = is->is_alloc = 0;
 }