From: Tom Hacohen Date: Tue, 12 Apr 2011 06:52:27 +0000 (+0000) Subject: Evas textblock: Fix a possible leak with calc_only layouting. X-Git-Tag: submit/efl/20131015.063327~9969 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=15d09d72f8761439c6133e6ebf54be81c2759338;p=platform%2Fupstream%2Fefl.git Evas textblock: Fix a possible leak with calc_only layouting. Style padding changes would have triggered a code-path that skips cleaning up the temporary layout created. SVN revision: 58578 --- diff --git a/legacy/evas/src/lib/canvas/evas_object_textblock.c b/legacy/evas/src/lib/canvas/evas_object_textblock.c index 2361ed4aad..4ab64c0edb 100644 --- a/legacy/evas/src/lib/canvas/evas_object_textblock.c +++ b/legacy/evas/src/lib/canvas/evas_object_textblock.c @@ -3793,7 +3793,6 @@ _layout(const Evas_Object *obj, int calc_only, int w, int h, int *w_ret, int *h_ _paragraphs_clear(obj, c->paragraphs); } _layout(obj, calc_only, w, h, w_ret, h_ret); - return; } if (calc_only)