From 97fb4807a5709064e8c5dac299f91a81fd9bda4a Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Tue, 3 May 2011 09:58:26 +0000 Subject: [PATCH] Replaced some large local variables by other means in xorriso/filters.c --- xorriso/filters.c | 4 +++- xorriso/xorriso_timestamp.h | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/xorriso/filters.c b/xorriso/filters.c index fe5da3f0..4621790d 100644 --- a/xorriso/filters.c +++ b/xorriso/filters.c @@ -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); } diff --git a/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index 2e215d2b..eb593d9d 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2011.05.03.091059" +#define Xorriso_timestamP "2011.05.03.095849"