Don't leak memory with the XMP parsing