# HG changeset patch # User bcoudurier # Date 1204104701 0 # Node ID f9cacbd1214586bc0a9d5c38f13a999a880f2f1f # Parent b8df4b5e16d0f4991abd5366acf10680b68c7e04 free in case of multiple type == 2 diff -r b8df4b5e16d0 -r f9cacbd12145 mov.c --- a/mov.c Wed Feb 27 09:30:56 2008 +0000 +++ b/mov.c Wed Feb 27 09:31:41 2008 +0000 @@ -254,6 +254,7 @@ if (len&1) len += 1; if (type == 2) { // absolute path + av_free(dref->path); dref->path = av_mallocz(len+1); if (!dref->path) return AVERROR(ENOMEM);