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 772501 - videorate: Fix memory leak in test code
videorate: Fix memory leak in test code
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal minor
: 1.10.0
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-10-06 07:27 UTC by Jimmy Ohn
Modified: 2016-10-31 14:34 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
videorate: Fix memory leak in test code (1.26 KB, patch)
2016-10-06 07:33 UTC, Jimmy Ohn
committed Details | Review

Description Jimmy Ohn 2016-10-06 07:27:41 UTC
gst_caps_to_string function returned allocated memory.
It should be freed using g_free function.
Comment 1 Jimmy Ohn 2016-10-06 07:33:16 UTC
Created attachment 337043 [details] [review]
videorate: Fix memory leak in test code
Comment 2 Sebastian Dröge (slomo) 2016-10-06 10:28:25 UTC
commit fdefa9c1ad5ba9c42e86e059682c3a4fb071b351
Author: Jimmy Ohn <yongjin.ohn@lge.com>
Date:   Thu Oct 6 16:24:05 2016 +0900

    videorate: Fix memory leakage in test code
    
    gst_caps_to_string function returned allocated memory.
    So, It should be free using g_free function.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=772501