lavf/hlsenc: free the old_filname to avoid memory leak
authorJun Zhao <barryjzhao@tencent.com>
Mon, 19 Aug 2019 13:01:07 +0000 (21:01 +0800)
committerSteven Liu <lq@chinaffmpeg.org>
Tue, 20 Aug 2019 00:44:42 +0000 (08:44 +0800)
commitf36925201c591015b1fbd366df71317f0290cef2
tree803341dc0b7da9de5a06497ef28e4112389053e1
parenteccb94c3babcc93484d409b1d0fa059f1a2b7645
lavf/hlsenc: free the old_filname to avoid memory leak

free the old_filname to avoid memory leak in error handle
path.

Reviewed-by: Steven Liu <lq@onvideo.cn>
Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
libavformat/hlsenc.c