diff options
author | Giedrius Statkevičius <[email protected]> | 2015-10-19 16:45:43 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2015-10-19 17:30:39 +0300 |
commit | 75a97c0721b36ee3aafb33b0daed60a0348072f2 (patch) | |
tree | b0a78e8af670c86445c272b914e09ffb9dbe0cfa /COPYING | |
parent | 96949654be3fd993c5aa1a786036161f16070077 (diff) | |
download | mate-notification-daemon-75a97c0721b36ee3aafb33b0daed60a0348072f2.tar.bz2 mate-notification-daemon-75a97c0721b36ee3aafb33b0daed60a0348072f2.tar.xz |
daemon: fix memory leak in on_popup_location_changed()
Don't forget to free the result of g_settings_get_string(). Also, change
`slocation' to proper type gchar* for storing results of
g_settings_get_string(). Furthermore, this allows to use that pointer in free()
without any casting.
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions