video: fix leak in gst_video_format_new_template_caps()
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 6 Dec 2011 14:55:38 +0000 (14:55 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 6 Dec 2011 14:55:54 +0000 (14:55 +0000)
commit61d0ab1faaca4cd77a2c5ce245ad9119e1abefdb
tree89d545fe0b83dec1639a62db0736b369a3f1bb24
parent8728023f001101fea8b87056f88c54c67cf9a561
video: fix leak in gst_video_format_new_template_caps()

g_value_reset() is not the same as g_value_unset()
gst-libs/gst/video/video.c