This is SWIG JavaScript Evolution, a fork of the SWIG project with modern JavaScript/TypeScript support including WASM and async
7
stars
0
forks
source link
With Node-API, typemaps that accept `const char *` strings leak memory on exception #16
Closed
mmomtchev closed 5 months ago
The code produced for a function that expects a
const char *
string leaks memory if the called function throws:(
buf1
is not freed on the exception path)