Closed a memory leak with message sieve. Coverity CID 28739.
This commit is contained in:
parent
d5130abb96
commit
2d4097d80c
@ -2198,6 +2198,8 @@ int Xorriso_sieve_filter_msg(struct XorrisO *xorriso, char *msg, int flag)
|
||||
if(strncmp(prefix, msg, strlen(prefix)) != 0)
|
||||
continue;
|
||||
|
||||
if (to_parse != NULL)
|
||||
free(to_parse);
|
||||
to_parse= strdup(msg);
|
||||
if(to_parse == NULL)
|
||||
goto no_mem;
|
||||
|
@ -1 +1 @@
|
||||
#define Xorriso_timestamP "2015.11.03.125130"
|
||||
#define Xorriso_timestamP "2015.11.03.125655"
|
||||
|
Loading…
Reference in New Issue
Block a user