Patch repaired. Properly memory allocation.