forked from enlightenment/efl
leak--
If we do not have a private palette here, we free the buffer and return NULL, However we never free'd the xob that was allocated previously. Signed-off-by: Christopher Michael <cp.michael@samsung.com> SVN revision: 83163
This commit is contained in:
parent
8aead73fe5
commit
8ce1afd62f
|
@ -300,6 +300,7 @@ evas_software_xlib_outbuf_setup_x(int w, int h, int rot, Outbuf_Depth depth,
|
|||
pm);
|
||||
if (!buf->priv.pal)
|
||||
{
|
||||
if (xob) evas_software_xlib_x_output_buffer_free(xob, 1);
|
||||
free(buf);
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue