OSDN Git Service

lavf/tee: fix leak of select option.
authorNicolas George <george@nsup.org>
Mon, 21 Oct 2013 15:00:56 +0000 (17:00 +0200)
committerNicolas George <george@nsup.org>
Mon, 21 Oct 2013 15:32:01 +0000 (17:32 +0200)
libavformat/tee.c

index 171a827..78348e3 100644 (file)
@@ -280,6 +280,7 @@ static int open_slave(AVFormatContext *avf, char *slave, TeeSlave *tee_slave)
 
 end:
     av_free(format);
+    av_free(select);
     av_dict_free(&options);
     return ret;
 }