mirror of https://git.ffmpeg.org/ffmpeg.git
ffserver: avoid leaking pathname at exit
Fixes Coverity CID 1325681 Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
This commit is contained in:
parent
84b4998dbd
commit
fe95b0eb8f
|
@ -471,6 +471,7 @@ static void start_children(FFServerStream *feed)
|
||||||
av_free (pathname);
|
av_free (pathname);
|
||||||
_exit(1);
|
_exit(1);
|
||||||
}
|
}
|
||||||
|
av_free (pathname);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* open a listening socket */
|
/* open a listening socket */
|
||||||
|
|
Loading…
Reference in New Issue