Commit b2afc218 authored by Simon Morlat's avatar Simon Morlat
Browse files

fix memory leak in videostream.c

parent dc2c100d
......@@ -47,6 +47,8 @@ void video_stream_free (VideoStream * stream)
ms_filter_destroy (stream->source);
if (stream->output != NULL)
ms_filter_destroy (stream->output);
if (stream->encoder != NULL)
ms_filter_destroy (stream->encoder);
if (stream->decoder != NULL)
ms_filter_destroy (stream->decoder);
if (stream->sizeconv != NULL)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment