Replaced some large local variables by other means
This commit is contained in:
@ -786,7 +786,7 @@ int Xorriso_update_interpreter(struct XorrisO *xorriso,
|
||||
struct stat stbuf;
|
||||
struct SplitparT *split_parts= NULL;
|
||||
int split_count= 0;
|
||||
char part_path[SfileadrL], *part_name;
|
||||
char *part_path= NULL, *part_name;
|
||||
int partno, total_parts, new_total_parts;
|
||||
off_t offset, bytes, total_bytes, disk_size, first_bytes;
|
||||
|
||||
@ -798,6 +798,8 @@ int Xorriso_update_interpreter(struct XorrisO *xorriso,
|
||||
ret= 3; goto ex;
|
||||
}
|
||||
|
||||
Xorriso_alloc_meM(part_path, char, SfileadrL);
|
||||
|
||||
if((flag & 2) && !(compare_result & 2)) {
|
||||
ret= Xorriso_mark_update_merge(xorriso, iso_rr_path, node,
|
||||
!(compare_result & 1));
|
||||
@ -1001,6 +1003,7 @@ overwrite:;
|
||||
ex:;
|
||||
if(split_parts!=NULL)
|
||||
Splitparts_destroy(&split_parts, split_count, 0);
|
||||
Xorriso_free_meM(part_path);
|
||||
if(ret<=0)
|
||||
return(ret);
|
||||
if(deleted)
|
||||
|
Reference in New Issue
Block a user