Closed memory leak with error about -check_media sector bitmapCoverity CID 28751.

This commit is contained in:
Thomas Schmitt 2015-11-03 14:56:20 +00:00
parent 91a8e46284
commit 302547406c
2 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
/* xorriso - creates, loads, manipulates and burns ISO 9660 filesystem images.
Copyright 2007-2014 Thomas Schmitt, <scdbackup@gmx.net>
Copyright 2007-2015 Thomas Schmitt, <scdbackup@gmx.net>
Provided under GPL version 2 or later.
@ -385,7 +385,7 @@ int Sectorbitmap_to_file(struct SectorbitmaP *o, char *path, char *info,
strcpy(msg, "Cannot open path ");
Text_shellsafe(path, msg+strlen(msg), 0);
}
return(0);
ret= 0; goto ex;
}
l= 0;
@ -393,7 +393,7 @@ int Sectorbitmap_to_file(struct SectorbitmaP *o, char *path, char *info,
l= strlen(info);
if(l > 999999) {
strcpy(msg, "Info string is longer than 999999 bytes");
return(0);
ret= 0; goto ex;
}
sprintf((char *) buf, "xorriso sector bitmap v2 %-6d\n", l);

View File

@ -1 +1 @@
#define Xorriso_timestamP "2015.11.03.140546"
#define Xorriso_timestamP "2015.11.03.145540"