commit | 0d1a6223751242387f1fe62c8da508d6035d7fbd | [log] [tgz] |
---|---|---|
author | Bryce Harrington <bryce@osg.samsung.com> | Thu Feb 11 16:42:49 2016 -0800 |
committer | Bryce Harrington <bryce@osg.samsung.com> | Wed Mar 09 22:54:54 2016 -0800 |
tree | 2b0aa6fbd816b21b1de78595300da67dfe09a614 | |
parent | cd9424ef2a8face5d64b086bc55ab4e70e077beb [diff] [blame] |
clients: Use zalloc Signed-off-by: Bryce Harrington <bryce@osg.samsung.com>
diff --git a/clients/subsurfaces.c b/clients/subsurfaces.c index b971fdf..bf0b96b 100644 --- a/clients/subsurfaces.c +++ b/clients/subsurfaces.c
@@ -42,6 +42,7 @@ #include <EGL/eglext.h> #include "shared/helpers.h" +#include "shared/zalloc.h" #include "window.h" #if 0 @@ -215,7 +216,7 @@ EGLint major, minor, n; EGLBoolean ret; - egl = calloc(1, sizeof *egl); + egl = zalloc(sizeof *egl); assert(egl); egl->dpy =