videoconvert: avoid double free

Set variable to NULL after free so that we don't free twice.
This commit is contained in:
Wim Taymans 2013-03-24 00:38:22 +01:00
parent b1950b6409
commit a092cbee5e

View file

@ -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 */