summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2015-09-29 15:24:29 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2015-09-29 15:27:42 -0400
commit5612b3e7e06c45ac69e8ef5883d5ec4c7edc68bb (patch)
tree4cb67959c6c767ee61b878418c6a15d36a183441
parent45f5eb98d0ae24ac2f88a32b5422f3dc0a4ea650 (diff)
upower: free version string splits
@fix
-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}