mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
v4l2transform: fix memory leak
tmp needs to be freed before going out of scope in 'done'. CID #1308954
This commit is contained in:
parent
6a59cc4b76
commit
911f7b38b9
1 changed files with 1 additions and 0 deletions
|
@ -761,6 +761,7 @@ gst_v4l2_transform_fixate_caps (GstBaseTransform * trans,
|
|||
&to_par_n, &to_par_d)) {
|
||||
GST_ELEMENT_ERROR (trans, CORE, NEGOTIATION, (NULL),
|
||||
("Error calculating the output scaled size - integer overflow"));
|
||||
gst_structure_free (tmp);
|
||||
goto done;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue