Bug fix (memory leakage)
- Memory leakage occurs during realloc override function. It has been fixed.