Fix a bug: a string created by "operator new" should be destroyed by "delete"
I found this bug when I configured with --enable-dmalloc which will alloc memory with an extra chunk at the beginning of the allocated memory for tracking memory usage when calling "operator new" and "operator new[]". This bug causes minios crash since "free" gets a parameter which is not the beginning address of the allocated memory.
Fix a bug: a string created by "operator new" should be destroyed by "delete"
I found this bug when I configured with --enable-dmalloc which will alloc memory with an extra chunk at the beginning of the allocated memory for tracking memory usage when calling "operator new" and "operator new[]". This bug causes minios crash since "free" gets a parameter which is not the beginning address of the allocated memory.