changeset 4303:a6789651f297 libavformat

Prefer av_freep() over av_free() for variables in the context for safety.
author michael
date Tue, 27 Jan 2009 22:21:28 +0000
parents ef58b73b138c
children 8880764c2012
files 4xm.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/4xm.c	Tue Jan 27 22:20:05 2009 +0000
+++ b/4xm.c	Tue Jan 27 22:21:28 2009 +0000
@@ -330,7 +330,7 @@
 {
     FourxmDemuxContext *fourxm = s->priv_data;
 
-    av_free(fourxm->tracks);
+    av_freep(&fourxm->tracks);
 
     return 0;
 }