tests:glupload: fix caps memory leak
https://bugzilla.gnome.org/show_bug.cgi?id=758039
This commit is contained in:
parent
7a75684566
commit
606e3dee98
@ -185,6 +185,8 @@ GST_START_TEST (test_upload_data)
|
||||
i++;
|
||||
}
|
||||
|
||||
gst_caps_unref (in_caps);
|
||||
gst_caps_unref (out_caps);
|
||||
gst_buffer_unref (inbuf);
|
||||
gst_buffer_unref (outbuf);
|
||||
}
|
||||
@ -239,6 +241,8 @@ GST_START_TEST (test_upload_buffer)
|
||||
i++;
|
||||
}
|
||||
|
||||
gst_caps_unref (in_caps);
|
||||
gst_caps_unref (out_caps);
|
||||
gst_buffer_unref (buffer);
|
||||
gst_buffer_unref (outbuf);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user