After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 776789 - avidemux: fix memory leak in usage of gst_pad_template_new() API
avidemux: fix memory leak in usage of gst_pad_template_new() API
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
1.9.1
Other Linux
: Normal normal
: 1.11.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-01-03 04:57 UTC by Garima
Modified: 2017-01-03 11:59 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fixed memory leak in usage of gst_pad_template_new() API (953 bytes, patch)
2017-01-03 04:57 UTC, Garima
committed Details | Review

Description Garima 2017-01-03 04:57:11 UTC
Created attachment 342742 [details] [review]
Fixed memory leak in usage of gst_pad_template_new() API

The last argument to gst_pad_template_new() is not freed.

Added gst_caps_unref() to free the allocated memory.

Please review the attached patch.
Comment 1 Tim-Philipp Müller 2017-01-03 11:59:23 UTC
Thanks for the patch!

commit a2d02300f81ac8080dad9c8421686b9605d3abc1
Author: Garima Gaur <garima.g@samsung.com>
Date:   Tue Jan 3 10:12:30 2017 +0530

    avidemux: fix some caps leaks
    
    https://bugzilla.gnome.org//show_bug.cgi?id=776789