free base before buffer

This commit is contained in:
Henry Hiles 2026-09-24 22:00:01 -04:00
commit aecfac9533
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs

View file

@ -80,8 +80,8 @@ class ClientController extends AsyncNotifier<int> {
return GomuksInit(bufferPointer.ref); return GomuksInit(bufferPointer.ref);
} finally { } finally {
calloc calloc
..free(bufferPointer) ..free(bufferPointer.ref.base)
..free(bufferPointer.ref.base); ..free(bufferPointer);
} }
}); });