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 754242 - avviddec: fix memory leak
avviddec: fix memory leak
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-libav
git master
Other Linux
: Normal normal
: 1.7.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-08-28 14:18 UTC by Luis de Bethencourt
Modified: 2015-09-29 15:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (922 bytes, patch)
2015-08-28 14:18 UTC, Luis de Bethencourt
committed Details | Review

Description Luis de Bethencourt 2015-08-28 14:18:11 UTC
Created attachment 310190 [details] [review]
patch

Bug found by Coverity.

CID 1320708

config is overwritten, free the structure before doing so.
Comment 1 Luis de Bethencourt 2015-09-29 15:48:23 UTC
Review of attachment 310190 [details] [review]:

commit 074a128f0fd5b68a7cf43d0d93e1d61d90df63db
Author: Luis de Bethencourt <luis@debethencourt.com>
Date:   Fri Aug 28 15:15:39 2015 +0100

    avviddec: fix memory leak

    Free config before overwriting.

    CID #1320708