summaryrefslogtreecommitdiff
path: root/src/modules/ecore/system/upower
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/modules/ecore/system/upower/ecore_system_upower.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/ecore/system/upower/ecore_system_upower.c b/src/modules/ecore/system/upower/ecore_system_upower.c
index e4188e3638..00ed43a521 100644
--- a/src/modules/ecore/system/upower/ecore_system_upower.c
+++ b/src/modules/ecore/system/upower/ecore_system_upower.c
@@ -253,6 +253,8 @@ _daemon_version_from_variant(Eldbus_Message_Iter *variant)
253 break; 253 break;
254 } 254 }
255 } 255 }
256 free(version[0]);
257 free(version);
256 258
257 _battery_state_get(); 259 _battery_state_get();
258} 260}