There's a pattern established in the other parsing functions that allows them to work with manual memory allocation/deallocation. Can you follow that pattern here as well?