diff options
author | Clément Bœsch <ubitux@gmail.com> | 2011-02-03 11:30:17 +0100 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2011-02-04 10:00:49 +0000 |
commit | 523d9407d57e9210428b6d962f0ebf48aae55638 (patch) | |
tree | 67f39b560958730815037831b59c57c8c297e00c /libavutil | |
parent | a1b227bb533f173354795124e0b966277c251b56 (diff) | |
download | ffmpeg-523d9407d57e9210428b6d962f0ebf48aae55638.tar.gz |
Remove a few if (p) av_freep(&p) forms
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/tree.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/tree.h b/libavutil/tree.h index bf09fd0be5..8c7de2ffbf 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 |