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 788221 - Use g_auto to reduce memory leaks
Use g_auto to reduce memory leaks
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: Date and Time
git master
Other Linux
: Normal normal
: ---
Assigned To: Kalev Lember
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-09-27 01:06 UTC by Robert Ancell
Modified: 2018-01-18 14:32 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
datetime: Use g_auto for variables (25.24 KB, patch)
2017-09-27 01:06 UTC, Robert Ancell
committed Details | Review

Description Robert Ancell 2017-09-27 01:06:10 UTC
Created attachment 360508 [details] [review]
datetime: Use g_auto for variables

Use the g_auto macros to reduce risk of memory leaks. Didn't find any in this panel.
Comment 1 Robert Ancell 2017-12-05 03:44:01 UTC
Any chance of a review?
Comment 2 Georges Basile Stavracas Neto 2018-01-18 14:30:59 UTC
Review of attachment 360508 [details] [review]:

Looks good, no appearent leaks after a smoketest session.
Comment 3 Georges Basile Stavracas Neto 2018-01-18 14:32:03 UTC
Thanks for your patch!

Attachment 360508 [details] pushed as d71f705 - datetime: Use g_auto for variables