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 613540 - [cppcheck] found a memory leak in /rhythmbox/plugins/mtpdevice/rb-mtp-source.c
[cppcheck] found a memory leak in /rhythmbox/plugins/mtpdevice/rb-mtp-source.c
Status: RESOLVED FIXED
Product: rhythmbox
Classification: Other
Component: Plugins (other)
HEAD
Other Linux
: Normal normal
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-03-21 23:10 UTC by Ettl Martin
Modified: 2010-03-23 20:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fixes the memory leak (516 bytes, patch)
2010-03-21 23:10 UTC, Ettl Martin
committed Details | Review

Description Ettl Martin 2010-03-21 23:10:38 UTC
Created attachment 156696 [details] [review]
fixes the memory leak

during a check with the static code analysis tool cppcheck ( freely available at http://sourceforge.net/apps/mediawiki/cppcheck/index.php?title=Main_Page), the tool discovered a memory leak in mtpdevice/rb-mtp-source.cp/source_to_check at line 1162.

Please refer the attached patch, that fixes the issue.

Best regards

Martin Ettl
Comment 1 Jonathan Matthew 2010-03-23 20:57:29 UTC
pushed in commit a82365a, thanks.