damage: Fix double free

aml
Andri Yngvason 2020-03-16 23:36:53 +00:00
parent 2000888009
commit 7929dfc9bb
1 changed files with 0 additions and 1 deletions

View File

@ -105,7 +105,6 @@ void on_damage_check_done_linear(void* work)
nvnc_fb_unref(check->fb0); nvnc_fb_unref(check->fb0);
pixman_region_fini(&check->damage); pixman_region_fini(&check->damage);
free(check);
} }
int check_damage_linear_threaded(struct nvnc_fb* fb0, struct nvnc_fb* fb1, int check_damage_linear_threaded(struct nvnc_fb* fb0, struct nvnc_fb* fb1,