Fixed out-of-memory error by explicitly freeing thread local variables used in extension functions
Version 1.0.5 released