Evas textblock: Fix a possible leak with calc_only layouting.
authortasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 12 Apr 2011 06:52:27 +0000 (06:52 +0000)
committertasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 12 Apr 2011 06:52:27 +0000 (06:52 +0000)
Style padding changes would have triggered a code-path that skips cleaning
up the temporary layout created.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58578 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/canvas/evas_object_textblock.c

index 2361ed4..4ab64c0 100644 (file)
@@ -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)