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 793855 - libgdm: "Fix" a memory leak
libgdm: "Fix" a memory leak
Status: RESOLVED FIXED
Product: gdm
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: GDM maintainers
GDM maintainers
Depends on:
Blocks:
 
 
Reported: 2018-02-26 19:14 UTC by Florian Müllner
Modified: 2018-02-26 21:51 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
libgdm: "Fix" a memory leak (1.63 KB, patch)
2018-02-26 19:14 UTC, Florian Müllner
committed Details | Review

Description Florian Müllner 2018-02-26 19:14:45 UTC
See patch.
Comment 1 Florian Müllner 2018-02-26 19:14:49 UTC
Created attachment 368959 [details] [review]
libgdm: "Fix" a memory leak

The gdm_available_sessions_map hash table is set up with a value-free
function that frees the struct itself, but not its contents.

Of course elements are never removed from the map, so this fix doesn't
matter in practice.
Comment 2 Ray Strode [halfline] 2018-02-26 21:35:41 UTC
Review of attachment 368959 [details] [review]:

sure.
Comment 3 Florian Müllner 2018-02-26 21:51:23 UTC
Attachment 368959 [details] pushed as 1e36e8d - libgdm: "Fix" a memory leak