videoconvert: avoid double free
Set variable to NULL after free so that we don't free twice.
This commit is contained in:
parent
b1950b6409
commit
a092cbee5e
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user