# HG changeset patch # User michael # Date 1233094888 0 # Node ID a6789651f297463181469fa802631b89e0460340 # Parent ef58b73b138c51b5e8c1761b0b8ca876ce800fda Prefer av_freep() over av_free() for variables in the context for safety. diff -r ef58b73b138c -r a6789651f297 4xm.c --- 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; }