]> O.S.I.I.S - jp/vkvg.git/commitdiff
Fix deallocation (#107)
authorMarco Rubin <20150305+Rubo3@users.noreply.github.com>
Sat, 5 Mar 2022 15:37:50 +0000 (16:37 +0100)
committerGitHub <noreply@github.com>
Sat, 5 Mar 2022 15:37:50 +0000 (16:37 +0100)
tests/surface.c

index ead2894977ccb3d42e9d80bfb250d2eeac6a82cf..2438a44a3bd0d2de98adad3135b500ab1cb41d91 100644 (file)
@@ -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(){