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

master
Thomas Schmitt 12 years ago
parent 514302d9ee
commit 97fb4807a5

@ -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);
}

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

Loading…
Cancel
Save