X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavutil%2Ftree.h;fp=libavutil%2Ftree.h;h=8c7de2ffbf8bb35f6739e6a6a3404daf3e98549b;hb=b9004bd50c2fa5d4c0ef71ec09c9e70ec83f2e87;hp=bf09fd0be5f9a2f9174fbe73a375e7723cd505b5;hpb=c54ac7a8f252a03299c7686fb885c41ee9fc1233;p=ffmpeg diff --git a/libavutil/tree.h b/libavutil/tree.h index bf09fd0be5f..8c7de2ffbf8 100644 --- a/libavutil/tree.h +++ b/libavutil/tree.h @@ -67,7 +67,7 @@ void *av_tree_find(const struct AVTreeNode *root, void *key, int (*cmp)(void *ke * return av_tree_insert(rootp, key, cmp, next); * } * void *tree_remove(struct AVTreeNode **rootp, void *key, int (*cmp)(void *key, const void *b, AVTreeNode **next)){ - * if(*next) av_freep(next); + * av_freep(next); * return av_tree_insert(rootp, key, cmp, next); * } * @endcode