dukeify / fake-jni

An implementation of the JNI and JVMTI with support for direct interaction between natively registered classes and JVM objects.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Free allocated demangled strings in Jvm::fatalError

Matthewacon opened this issue · comments

Right now freeing is conditional, however, even if abi::__cxa_demangle indicates an error, the returned string must still be freed.