[FFmpeg-devel] [PATCH 04/11] cache: use av_freep instead of av_free in cache_open
Jean First
jeanfirst at gmail.com
Fri Dec 30 21:08:01 CET 2011
Signed-off-by: Jean First <jeanfirst at gmail.com>
---
libavformat/cache.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavformat/cache.c b/libavformat/cache.c
index e098a31..3e60aea 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);
}
--
1.7.7.3
More information about the ffmpeg-devel
mailing list