mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
facedetect: fix structure leak
https://bugzilla.gnome.org/show_bug.cgi?id=672294
This commit is contained in:
parent
0fad58c123
commit
362727b9f4
1 changed files with 2 additions and 1 deletions
|
@ -616,9 +616,10 @@ gst_face_detect_transform_ip (GstOpencvVideoFilter * base, GstBuffer * buf,
|
|||
}
|
||||
|
||||
g_value_init (&facedata, GST_TYPE_STRUCTURE);
|
||||
gst_value_set_structure (&facedata, s);
|
||||
g_value_take_boxed (&facedata, s);
|
||||
gst_value_list_append_value (&facelist, &facedata);
|
||||
g_value_unset (&facedata);
|
||||
s = NULL;
|
||||
|
||||
if (do_display) {
|
||||
CvPoint center;
|
||||
|
|
Loading…
Reference in a new issue