renderer: free timer query properly

Reported-by: Marc-André Lureau <marcandre.lureau@gmail.com>
macos/master
Dave Airlie 10 years ago
parent 040df0b86c
commit a0074a2f1b
  1. 1
      src/vrend_renderer.c

@ -5006,6 +5006,7 @@ static void vrend_destroy_query(struct vrend_query *query)
list_del(&query->waiting_queries);
if (vrend_is_timer_query(query->gltype)) {
glDeleteQueries(1, &query->timer_query_id);
FREE(query);
return;
}
LIST_FOR_EACH_ENTRY_SAFE(hwq, stor, &query->hw_queries, query_list) {

Loading…
Cancel
Save