Commit a092cbee authored by Wim Taymans's avatar Wim Taymans

videoconvert: avoid double free

Set variable to NULL after free so that we don't free twice.
parent b1950b64
......@@ -222,6 +222,7 @@ gst_video_convert_set_info (GstVideoFilter * filter,
if (space->convert) {
videoconvert_convert_free (space->convert);
space->convert = NULL;
}
/* these must match */
......
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