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 669822 - [PATCH] Fix possible memory leak in gedit_metadata_manager_get()
[PATCH] Fix possible memory leak in gedit_metadata_manager_get()
Status: RESOLVED FIXED
Product: gedit
Classification: Applications
Component: general
3.3.x
Other Linux
: Normal normal
: ---
Assigned To: Gedit maintainers
Gedit maintainers
Depends on:
Blocks:
 
 
Reported: 2012-02-10 17:15 UTC by Daniel Trebbien
Modified: 2012-02-10 17:31 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix (847 bytes, patch)
2012-02-10 17:16 UTC, Daniel Trebbien
accepted-commit_now Details | Review

Description Daniel Trebbien 2012-02-10 17:15:19 UTC
In gedit_metadata_manager_get(), `uri` needs to be freed before returning.
Comment 1 Daniel Trebbien 2012-02-10 17:16:46 UTC
Created attachment 207279 [details] [review]
Fix
Comment 2 Ignacio Casal Quinteiro (nacho) 2012-02-10 17:18:36 UTC
Review of attachment 207279 [details] [review]:

Looks good.