mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-24 00:02:52 +00:00
cache: use av_freep instead of av_free in cache_open
Signed-off-by: Jean First <jeanfirst@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
3ceb4c907e
commit
576ada791a
@ -63,7 +63,7 @@ static int cache_open(URLContext *h, const char *arg, int flags)
|
||||
}
|
||||
|
||||
unlink(buffername);
|
||||
av_free(buffername);
|
||||
av_freep(&buffername);
|
||||
|
||||
return ffurl_open(&c->inner, arg, flags, &h->interrupt_callback, NULL);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user