]> git.lizzy.rs Git - nothing.git/blobdiff - src/broadcast.c
(#882) Make the Platform level loadable
[nothing.git] / src / broadcast.c
index cc9b30de07a86984a4b02ed21ab73e133368040a..383e0ebc637a92c2987e31697dcf815c8fa1c022 100644 (file)
@@ -43,7 +43,7 @@ Broadcast *create_broadcast(Game *game)
 {
     trace_assert(game);
 
-    Broadcast *broadcast = nth_alloc(sizeof(Broadcast));
+    Broadcast *broadcast = nth_calloc(1, sizeof(Broadcast));
     if (broadcast == NULL) {
         return NULL;
     }