uvch264_src: Fix caps memory leak
authorVineeth TM <vineeth.tm@samsung.com>
Tue, 26 Jan 2016 00:34:00 +0000 (09:34 +0900)
committerTim-Philipp Müller <tim@centricular.com>
Wed, 17 Feb 2016 08:57:30 +0000 (08:57 +0000)
commit9900b08512492355eec6c5530889d74828635da3
treee10de55b06234b5f102b20a4d7b7b0132824f531
parentee8a5455d0b04198e90670ea672859cc30a1ad48
uvch264_src: Fix caps memory leak

v4l_caps and new_caps are being allocated new memory before freeing the
old allocation.

https://bugzilla.gnome.org/show_bug.cgi?id=761108
sys/uvch264/gstuvch264_src.c