summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_slider.c
diff options
context:
space:
mode:
authorAmitesh Singh <amitesh.sh@samsung.com>2017-10-30 20:27:53 +0900
committerAmitesh Singh <amitesh.sh@samsung.com>2017-10-30 20:29:42 +0900
commit176ade58bb2f1420cf8cffa8e4bf94039918538f (patch)
treed63e75dd2c915116e0073985cf3b47763942eb83 /src/lib/elementary/efl_ui_slider.c
parentcda9532f446b1f465a6bc478e3a7d29a79b3573b (diff)
elm: call eina_value_flush to deallocate memory
I am not sure if Eina_Value allocates dynamic memory for basic types but its better practice to call eina_value_flush() at the end.
Diffstat (limited to '')
-rw-r--r--src/lib/elementary/efl_ui_slider.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/elementary/efl_ui_slider.c b/src/lib/elementary/efl_ui_slider.c
index a1c8fa9fd4..38d0ff8111 100644
--- a/src/lib/elementary/efl_ui_slider.c
+++ b/src/lib/elementary/efl_ui_slider.c
@@ -241,6 +241,8 @@ _units_set(Evas_Object *obj)
241 elm_layout_signal_emit(obj, "elm,state,units,visible", "elm"); 241 elm_layout_signal_emit(obj, "elm,state,units,visible", "elm");
242 sd->units_show = EINA_TRUE; 242 sd->units_show = EINA_TRUE;
243 } 243 }
244
245 eina_value_flush(&val);
244 } 246 }
245 else 247 else
246 { 248 {