summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli Alzyod <ali198724@gmail.com>2020-06-22 17:27:42 +0900
committerWooHyun Jung <wh0705.jung@samsung.com>2020-06-22 17:27:42 +0900
commitfd24fb568eb600357c4a84b6fc4aa2ba8e36c86d (patch)
treebeda81a3a9c56dc82283edd5977fb2328038675d
parent8f3be603c201c0785e234f9836cd98bad1b2279e (diff)
elementary_test: remove leaked style
Summary: remove created style after being set in textblock Reviewers: woohyun, smohanty Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8742 Differential Revision: https://phab.enlightenment.org/D11944
-rw-r--r--src/bin/elementary/test_label.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bin/elementary/test_label.c b/src/bin/elementary/test_label.c
index 5b3e5e8265..414058d9ad 100644
--- a/src/bin/elementary/test_label.c
+++ b/src/bin/elementary/test_label.c
@@ -492,6 +492,8 @@ test_textblock_fit(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *e
492 evas_textblock_style_set(style,styles[0]); 492 evas_textblock_style_set(style,styles[0]);
493 evas_object_textblock_style_set(app->txtblock,style); 493 evas_object_textblock_style_set(app->txtblock,style);
494 evas_object_textblock_text_markup_set(app->txtblock,contents[0]); 494 evas_object_textblock_text_markup_set(app->txtblock,contents[0]);
495 evas_textblock_style_free(style);
496 style = NULL;
495 497
496 elm_box_horizontal_set(app->boxHor, EINA_TRUE); 498 elm_box_horizontal_set(app->boxHor, EINA_TRUE);
497 elm_box_horizontal_set(app->boxHor2, EINA_TRUE); 499 elm_box_horizontal_set(app->boxHor2, EINA_TRUE);