summaryrefslogtreecommitdiff
path: root/src/modules/battery
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/battery')
-rw-r--r--src/modules/battery/e_mod_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/battery/e_mod_main.c b/src/modules/battery/e_mod_main.c
index 57f36d7bf3..2adab7f608 100644
--- a/src/modules/battery/e_mod_main.c
+++ b/src/modules/battery/e_mod_main.c
@@ -605,7 +605,7 @@ _battery_dbus_ac_adapter_props(void *data, void *reply_data, DBusError *error __
str = e_ukit_property_string_get(ret, s, &err); \
if (str) \
{ \
- hac->val = str; \
+ hac->val = eina_stringshare_add(str); \
}
GET_BOOL(present, "IsPresent");