diff --git a/libavformat/tee.c b/libavformat/tee.c index 171a827b46..78348e3d61 100644 --- a/libavformat/tee.c +++ b/libavformat/tee.c @@ -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; }