Replaced some large local variables by other means in xorriso/filters.c

This commit is contained in:
Thomas Schmitt 2011-05-03 09:58:26 +00:00
parent 514302d9ee
commit 97fb4807a5
2 changed files with 4 additions and 2 deletions

View File

@ -268,10 +268,11 @@ int Xorriso_set_filter(struct XorrisO *xorriso, void *in_node,
struct Xorriso_lsT *found_lst;
struct Xorriso_extF *found_filter;
IsoExternalFilterCommand *cmd = NULL;
char *old_name= NULL, new_name[SfileadrL], *suffix= "";
char *old_name= NULL, *new_name= NULL, *suffix= "";
IsoStream *stream;
int is_renamed= 0;
Xorriso_alloc_meM(new_name, char, SfileadrL);
new_name[0]= 0;
node= (IsoNode *) in_node;
@ -431,6 +432,7 @@ int Xorriso_set_filter(struct XorrisO *xorriso, void *in_node,
ex:;
if(old_name != NULL)
free(old_name);
Xorriso_free_meM(new_name);
Xorriso_process_msg_queues(xorriso,0);
return(ret);
}

View File

@ -1 +1 @@
#define Xorriso_timestamP "2011.05.03.091059"
#define Xorriso_timestamP "2011.05.03.095849"