Skip to content
Snippets Groups Projects
Commit 4cc59eca authored by Guido Gunther's avatar Guido Gunther :zzz:
Browse files

batteryinfo: Don't leak icon name

parent 30bb64df
No related branches found
No related tags found
No related merge requests found
......@@ -42,7 +42,7 @@ static void
update_icon (PhoshBatteryInfo *self, gpointer unused)
{
PhoshBatteryInfoPrivate *priv;
const gchar *icon_name;
g_autofree gchar *icon_name = NULL;
g_debug ("Updating battery icon");
g_return_if_fail (PHOSH_IS_BATTERY_INFO (self));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment