free object on destruction

This commit is contained in:
Greg Wells
2025-05-29 13:08:13 -04:00
parent 32f49ebe97
commit 886e6b50c9
2 changed files with 2 additions and 1 deletions

View File

@@ -95,6 +95,7 @@ void gnDestroyOutputDeviceFn(gnOutputDevice* device) {
[device->outputDevice->queues[i] release];
}
[device->outputDevice->device release];
free(device->outputDevice);
}
// struct mtlFramebufferVertex {