parent
3633644e9c
commit
a5c5e9699a
|
@ -40,10 +40,7 @@ evas_software_x11_outbuf_setup_x(int w, int h, int rot, Outbuf_Depth depth,
|
|||
|
||||
buf = calloc(1, sizeof(Outbuf));
|
||||
if (!buf)
|
||||
{
|
||||
free(buf);
|
||||
return NULL;
|
||||
}
|
||||
return NULL;
|
||||
|
||||
buf->w = w;
|
||||
buf->h = h;
|
||||
|
|
|
@ -55,10 +55,7 @@ evas_software_xcb_outbuf_setup_x(int w,
|
|||
|
||||
buf = calloc(1, sizeof(Outbuf));
|
||||
if (!buf)
|
||||
{
|
||||
free(buf);
|
||||
return NULL;
|
||||
}
|
||||
return NULL;
|
||||
|
||||
buf->w = w;
|
||||
buf->h = h;
|
||||
|
|
Loading…
Reference in New Issue