diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c index 0ed5ef5859a..7b7d337e54f 100644 --- a/src/mesa/main/dlist.c +++ b/src/mesa/main/dlist.c @@ -757,6 +757,7 @@ vbo_destroy_vertex_list(struct gl_context *ctx, struct vbo_save_vertex_list *nod free(node->cold->current_data); node->cold->current_data = NULL; + free(node->cold->prims); free(node->cold); }