Fix Invalid memory read and match g_free with g_malloc.
Fix Invalid memory read and match g_free with g_malloc.

libimobiledevice-win32/libplist,Tatsh/libplist,Tatsh/libplist,Tatsh/libplist,libimobiledevice/libplist,libimobiledevice/libplist,libimobiledevice/libplist,libimobiledevice-win32/libplist,libimobiledevice-win32/libplist,libimobiledevice-win32/libplist,Tatsh/libplist