Fix for issue Anders found.

Forgot to make the marker_get_single function malloc and do things
dynamically. You know, now that I think of it, this might possibly cause
a problem with the strPtrSwap later on. Not sure though.