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 711775 - utils: Don't free memory owned by glib in test
utils: Don't free memory owned by glib in test
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks: 711744
 
 
Reported: 2013-11-10 13:33 UTC by Stef Walter
Modified: 2013-11-10 21:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
utils: Don't free memory owned by glib in test (602 bytes, patch)
2013-11-10 13:33 UTC, Stef Walter
committed Details | Review

Description Stef Walter 2013-11-10 13:33:50 UTC
The utils test frees the result of g_get_system_config_dirs() which
is owned by glib.
Comment 1 Stef Walter 2013-11-10 13:33:53 UTC
Created attachment 259417 [details] [review]
utils: Don't free memory owned by glib in test
Comment 2 Colin Walters 2013-11-10 15:08:41 UTC
Review of attachment 259417 [details] [review]:

Right.
Comment 3 Stef Walter 2013-11-10 21:53:23 UTC
Attachment 259417 [details] pushed as fe8862d - utils: Don't free memory owned by glib in test