mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue