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:
Christopher Michael 2013-01-23 11:12:52 +00:00 committed by Christopher Michael
parent 8aead73fe5
commit 8ce1afd62f
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}