Commit b3264381 authored by Michael Niedermayer's avatar Michael Niedermayer

avutil/tree: fix memleaks

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 161054f3
......@@ -245,8 +245,10 @@ int main(int argc, char **argv)
k = av_tree_find(root, (void *)(j + 1), cmp, NULL);
if (k)
av_log(NULL, AV_LOG_ERROR, "removal failure %d\n", i);
av_free(node2);
}
}
av_free(node);
av_tree_destroy(root);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment