Fixed memory leak in iSCSIDLogin, and bug where it didn't return error codes properly.
Fixed memory leak in iSCSIDLogin, and bug where it didn't return error codes properly.

iscsi-osx/iSCSIInitiator,iscsi-osx/iSCSIInitiator,iscsi-osx/iSCSIInitiator