diff --git a/lib/controllers/client.dart b/lib/controllers/client.dart index 7926afe..014966f 100644 --- a/lib/controllers/client.dart +++ b/lib/controllers/client.dart @@ -80,8 +80,8 @@ class ClientController extends AsyncNotifier { return GomuksInit(bufferPointer.ref); } finally { calloc - ..free(bufferPointer) - ..free(bufferPointer.ref.base); + ..free(bufferPointer.ref.base) + ..free(bufferPointer); } });