avformat/asfdec_f: Fix memleak
Found-by: jamrial Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
72cad80016
commit
1f69b7baa1
@ -729,6 +729,7 @@ static int asf_read_metadata(AVFormatContext *s, int64_t size)
|
||||
} else {
|
||||
get_tag(s, name, value_type, value_len, 16);
|
||||
}
|
||||
av_freep(&name);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user