summaryrefslogtreecommitdiff
path: root/src/video_out/xcbosd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/video_out/xcbosd.c')
-rw-r--r--src/video_out/xcbosd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_out/xcbosd.c b/src/video_out/xcbosd.c
index 4bb2b60af..d8cf119a2 100644
--- a/src/video_out/xcbosd.c
+++ b/src/video_out/xcbosd.c
@@ -238,7 +238,7 @@ xcbosd *xcbosd_create(xine_t *xine, xcb_connection_t *connection, xcb_screen_t *
xcb_void_cookie_t generic_cookie;
xcb_generic_error_t *generic_error;
- osd = xine_xmalloc (sizeof (xcbosd));
+ osd = calloc(1, sizeof(xcbosd));
if (!osd)
return NULL;