Browse Source

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

master
Thomas Schmitt 7 years ago
parent
commit
82a0234a91
  1. 2
      xorriso/iso_img.c
  2. 2
      xorriso/xorriso_timestamp.h

2
xorriso/iso_img.c

@ -1142,7 +1142,7 @@ int Xorriso_mount(struct XorrisO *xorriso, char *dev, int adr_mode,
burn_drive_info_free(dinfo);
drive= NULL;
} 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)
goto ex;
}

2
xorriso/xorriso_timestamp.h

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

Loading…
Cancel
Save