Replaced some large local variables by other means in xorriso/filters.c
This commit is contained in:
parent
84589ab9b8
commit
863bc34ac8
@ -268,10 +268,11 @@ int Xorriso_set_filter(struct XorrisO *xorriso, void *in_node,
|
|||||||
struct Xorriso_lsT *found_lst;
|
struct Xorriso_lsT *found_lst;
|
||||||
struct Xorriso_extF *found_filter;
|
struct Xorriso_extF *found_filter;
|
||||||
IsoExternalFilterCommand *cmd = NULL;
|
IsoExternalFilterCommand *cmd = NULL;
|
||||||
char *old_name= NULL, new_name[SfileadrL], *suffix= "";
|
char *old_name= NULL, *new_name= NULL, *suffix= "";
|
||||||
IsoStream *stream;
|
IsoStream *stream;
|
||||||
int is_renamed= 0;
|
int is_renamed= 0;
|
||||||
|
|
||||||
|
Xorriso_alloc_meM(new_name, char, SfileadrL);
|
||||||
new_name[0]= 0;
|
new_name[0]= 0;
|
||||||
|
|
||||||
node= (IsoNode *) in_node;
|
node= (IsoNode *) in_node;
|
||||||
@ -431,6 +432,7 @@ int Xorriso_set_filter(struct XorrisO *xorriso, void *in_node,
|
|||||||
ex:;
|
ex:;
|
||||||
if(old_name != NULL)
|
if(old_name != NULL)
|
||||||
free(old_name);
|
free(old_name);
|
||||||
|
Xorriso_free_meM(new_name);
|
||||||
Xorriso_process_msg_queues(xorriso,0);
|
Xorriso_process_msg_queues(xorriso,0);
|
||||||
return(ret);
|
return(ret);
|
||||||
}
|
}
|
||||||
|
@ -1 +1 @@
|
|||||||
#define Xorriso_timestamP "2011.05.03.091059"
|
#define Xorriso_timestamP "2011.05.03.095849"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user