Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
huffman: remove wrong htsmsg_destroy() call (coverity)
  • Loading branch information
perexg committed Oct 3, 2014
1 parent 07d5b11 commit 1589bd8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/huffman.c
Expand Up @@ -62,7 +62,6 @@ huffman_node_t *huffman_tree_build ( htsmsg_t *m )
if (!node->b1) node->b1 = calloc(1, sizeof(huffman_node_t));
node = node->b1;
} else {
htsmsg_destroy(m);
huffman_tree_destroy(root);
return NULL;
}
Expand Down

0 comments on commit 1589bd8

Please sign in to comment.