mesa: remove outdated comment
[mesa.git] / src / mesa / main / queryobj.c
index 6b636f4cb3b04f3daac4c969d6b042abec700f09..a1801336968dd29253236f7c377586672b5c8b3a 100644 (file)
@@ -43,7 +43,7 @@
 static struct gl_query_object *
 _mesa_new_query_object(struct gl_context *ctx, GLuint id)
 {
-   struct gl_query_object *q = MALLOC_STRUCT(gl_query_object);
+   struct gl_query_object *q = CALLOC_STRUCT(gl_query_object);
    (void) ctx;
    if (q) {
       q->Id = id;