evas: remove logically dead code.

CID 1211984.

Note that in error case, the calloc is either not passed or
returned NULL so free will never be called.
This commit is contained in:
Cedric Bail 2014-05-10 13:18:55 +02:00
parent 7c1679550b
commit 6a3913b41e
1 changed files with 0 additions and 4 deletions

View File

@ -484,7 +484,6 @@ e3d_drawable_new(int w, int h, int alpha, GLenum depth_format, GLenum stencil_fo
goto error;
drawable = (E3D_Drawable *)calloc(1, sizeof(E3D_Drawable));
if (drawable == NULL)
goto error;
@ -531,9 +530,6 @@ error:
if (stencil_buf)
glDeleteRenderbuffers(1, &stencil_buf);
if (drawable)
free(drawable);
return NULL;
}