diff options
author | U. Artie Eoff <ullysses.a.eoff@intel.com> | 2014-01-15 11:13:38 -0800 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2014-01-19 22:01:23 -0800 |
commit | 5cda4e328da5c71ae65c946634b0fbf76fac8d2b (patch) | |
tree | 53178e34af3ec6caf8e731c737671d078d38ac8b | |
parent | 3c946779df0063ffc5ce7e649b8670a24824c99c (diff) | |
download | weston-5cda4e328da5c71ae65c946634b0fbf76fac8d2b.tar.gz |
use xzalloc wrapper instead
Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
-rw-r--r-- | clients/nested.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clients/nested.c b/clients/nested.c index 74767795..d75e953a 100644 --- a/clients/nested.c +++ b/clients/nested.c @@ -844,7 +844,7 @@ static void blit_surface_init(struct nested_surface *surface) { struct nested_blit_surface *blit_surface = - zalloc(sizeof *blit_surface); + xzalloc(sizeof *blit_surface); glGenTextures(1, &blit_surface->texture); glBindTexture(GL_TEXTURE_2D, blit_surface->texture); @@ -967,7 +967,7 @@ ss_surface_init(struct nested_surface *surface) struct wl_compositor *compositor = display_get_compositor(nested->display); struct nested_ss_surface *ss_surface = - zalloc(sizeof *ss_surface); + xzalloc(sizeof *ss_surface); struct rectangle allocation; struct wl_region *region; |