aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/indicator-power.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/indicator-power.c b/src/indicator-power.c
index 9211b54..62cdb44 100644
--- a/src/indicator-power.c
+++ b/src/indicator-power.c
@@ -551,10 +551,10 @@ get_primary_device (GVariant *devices)
{
primary_device = device;
}
- }
- g_free (device_icon);
- g_free (object_path);
+ g_free (device_icon);
+ g_free (object_path);
+ }
if (discharging)
{