With -mount: Checking Xorriso_give_up_drive return value for error. Coverity CID 28712.

This commit is contained in:
Thomas Schmitt 2015-11-08 20:30:26 +00:00
parent 27208d995b
commit 10d07e17d5
2 changed files with 2 additions and 2 deletions

View File

@ -1142,7 +1142,7 @@ int Xorriso_mount(struct XorrisO *xorriso, char *dev, int adr_mode,
burn_drive_info_free(dinfo); burn_drive_info_free(dinfo);
drive= NULL; drive= NULL;
} else if(give_up > 0 && !((flag & 1) || (xorriso->mount_opts_flag & 1))) { } else if(give_up > 0 && !((flag & 1) || (xorriso->mount_opts_flag & 1))) {
Xorriso_give_up_drive(xorriso, give_up); ret= Xorriso_give_up_drive(xorriso, give_up);
if(ret <= 0) if(ret <= 0)
goto ex; goto ex;
} }

View File

@ -1 +1 @@
#define Xorriso_timestamP "2015.11.08.200543" #define Xorriso_timestamP "2015.11.08.202957"