Issue #8832: fix metadata string corrupted on Linux
On Linux, freeing the string s
also changed the str1
string that was strtok:d from s
.
Fixes #8832 (closed)
Thanks @cmyk.student for suggesting moving the free, that is a much nicer solution.