tests: camerabin: fix caps leak in test

The gst_query_set_caps_result doesn't take ownership of caps
This commit is contained in:
Thiago Santos 2014-06-27 17:35:32 -03:00
parent c5ef1bee73
commit f1b99f04dc

View file

@ -134,6 +134,7 @@ gst_test_camera_src_query (GstPad * pad, GstObject * parent, GstQuery * query)
gst_caps_unref (tmp);
}
gst_query_set_caps_result (query, result);
gst_caps_unref (result);
ret = TRUE;
}
break;