summaryrefslogtreecommitdiff
path: root/src/modules/ecore
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:24:55 -0400
commitdd73628a123b94fb51120f751249fcf666b34695 (patch)
tree01577ec777e54e5951c47725c5373c693dcd65aa /src/modules/ecore
parent1853051618c97d0d187d398ea25a0dcf09a5adac (diff)
upower: free version string splits
@fix
Diffstat (limited to 'src/modules/ecore')
-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}