forked from enlightenment/efl
Free the previously allocated rectangle is we do not need it.
Signed-off-by: Christopher Michael <cp.michael@samsung.com> SVN revision: 83162
This commit is contained in:
parent
c4b536e500
commit
8aead73fe5
|
@ -393,6 +393,8 @@ evas_software_xlib_outbuf_new_region_for_update(Outbuf *buf, int x, int y, int w
|
|||
return buf->priv.onebuf;
|
||||
}
|
||||
|
||||
if (rect) eina_rectangle_free(rect);
|
||||
|
||||
obr = calloc(1, sizeof(Outbuf_Region));
|
||||
if (!obr) return NULL;
|
||||
|
||||
|
|
Loading…
Reference in New Issue