Fixed: ddstring memory allocation in Str_Copy()
The allocateString() function is responsible for properly allocatingmemory for ddstring. Replaced the manual allocation in Str_Copy()with a call to allocateString(), so that the "size" member properlycontains space for a terminating null.
View differences
Fixed: ddstring memory allocation in Str_Copy()
The allocateString() function is responsible for properly allocating
memory for ddstring. Replaced the manual allocation in Str_Copy()
with a call to allocateString(), so that the "size" member properly
contains space for a terminating null.