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 691304 - Heavy memory leak in UPnP AV Control Point
Heavy memory leak in UPnP AV Control Point
Status: RESOLVED FIXED
Product: gupnp-tools
Classification: Other
Component: General
unspecified
Other All
: Normal normal
: ---
Assigned To: GUPnP Maintainers
GUPnP Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-01-07 18:08 UTC by pasdVn3
Modified: 2019-02-22 05:57 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch fixing the memory leak (774 bytes, patch)
2013-01-07 18:08 UTC, pasdVn3
committed Details | Review

Description pasdVn3 2013-01-07 18:08:43 UTC
Created attachment 232914 [details] [review]
Patch fixing the memory leak

When browsing a media server the AV Control-Point causes massive memory leakeage.

The Problem is located playlist_treeview.c, compare_container(...). The container_id should also be freed, if is_container==false (see patch attached).

This function is called very offen when browsing media servers with some more items/containers. For me me gupnp-av-cp uses 1,4GB memory after Browsing a music folder.
Comment 1 Jens Georg 2013-01-18 07:36:36 UTC
Pushed with slight coding style fix. Thanks.