summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2015-01-07 16:49:08 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2015-01-07 17:23:29 +0900
commite08f609721f695fb26dcd59e1c72277cf081c0ad (patch)
treead09acb3b7cee87c5facd8d815b8339dab20aa73
parentb8e6d6a708aa1bde8c3be87556cc6714be4310c1 (diff)
elm progressbar - fix invalid access to freed units string
@fix
-rw-r--r--src/lib/elm_progressbar.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/elm_progressbar.c b/src/lib/elm_progressbar.c
index 27b7d3bb6..1988fda43 100644
--- a/src/lib/elm_progressbar.c
+++ b/src/lib/elm_progressbar.c
@@ -296,6 +296,7 @@ _elm_progressbar_evas_object_smart_del(Eo *obj, Elm_Progressbar_Data *sd)
296 Elm_Progress_Status *progress_obj; 296 Elm_Progress_Status *progress_obj;
297 297
298 eina_stringshare_del(sd->units); 298 eina_stringshare_del(sd->units);
299 sd->units = NULL;
299 if (sd->progress_status) 300 if (sd->progress_status)
300 { 301 {
301 EINA_LIST_FREE(sd->progress_status, progress_obj) 302 EINA_LIST_FREE(sd->progress_status, progress_obj)