From: Marco Rubin <20150305+Rubo3@users.noreply.github.com> Date: Sat, 5 Mar 2022 15:37:50 +0000 (+0100) Subject: Fix deallocation (#107) X-Git-Url: https://git.osiis.dedyn.io/?a=commitdiff_plain;h=cf29feff5b8e07971aa2bab6b4788981e53c6cd4;p=jp%2Fvkvg.git Fix deallocation (#107) --- diff --git a/tests/surface.c b/tests/surface.c index ead2894..2438a44 100644 --- a/tests/surface.c +++ b/tests/surface.c @@ -6,7 +6,7 @@ void create_destroy_multi_512(){ surfs[i] = vkvg_surface_create (device, 512, 512); for (uint32_t i = 0; i < test_size; i++) vkvg_surface_destroy(surfs[i]); - free(surf); + free(surfs); } void create_destroy_single_512(){