afc.c: fixed leaks in various functions when an invalid argument error is returned.
afc.c: fixed leaks in various functions when an invalid argument error is returned.

libimobiledevice-win32/libimobiledevice,upbit/libimobiledevice,libimobiledevice/libimobiledevice,upbit/libimobiledevice,kalev/libimobiledevice,patweb/libimobiledevice,Tatsh/libimobiledevice,Tatsh/libimobiledevice,Tatsh/libimobiledevice,upbit/libimobiledevice,libimobiledevice/libimobiledevice,Tatsh/libimobiledevice,patweb/libimobiledevice,kalev/libimobiledevice,kalev/libimobiledevice,libimobiledevice-win32/libimobiledevice,libimobiledevice-win32/libimobiledevice,libimobiledevice-win32/libimobiledevice,patweb/libimobiledevice