Commit 576ada79 authored by Jean First's avatar Jean First Committed by Michael Niedermayer

cache: use av_freep instead of av_free in cache_open

Signed-off-by: 's avatarJean First <jeanfirst@gmail.com>
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 3ceb4c90
......@@ -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);
}
......
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