Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean First <jeanfirst@gmail.com>2011-12-31 00:08:01 +0400
committerMichael Niedermayer <michaelni@gmx.at>2011-12-31 05:27:10 +0400
commit576ada791a5085b7427c9062ba4f65e811914bd0 (patch)
treea07d463d28170c6ca1199d8fed43570b058f77e5 /libavformat/cache.c
parent3ceb4c907e2b0a0b09a8815b7fbb55227e44c893 (diff)
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>
Diffstat (limited to 'libavformat/cache.c')
-rw-r--r--libavformat/cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/cache.c b/libavformat/cache.c
index e098a31c43..3e60aea48f 100644
--- a/libavformat/cache.c
+++ b/libavformat/cache.c
@@ -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);
}