free base before buffer
This commit is contained in:
parent
c7b89b8e56
commit
aecfac9533
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue