Evas textblock: Fix a possible leak with calc_only layouting.
authorTom Hacohen <tom@stosb.com>
Tue, 12 Apr 2011 06:52:27 +0000 (06:52 +0000)
committerTom Hacohen <tom@stosb.com>
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.

SVN revision: 58578

legacy/evas/src/lib/canvas/evas_object_textblock.c

index 2361ed4aad12d09baa300aae9140b9d6556d03c5..4ab64c0edbe4610bb1875fb11104dddbc20417c8 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)