Closed a memory leak with message sieve. Coverity CID 28739.

master
Thomas Schmitt 7 years ago
parent 1241941203
commit db47420120
  1. 2
      xorriso/text_io.c
  2. 2
      xorriso/xorriso_timestamp.h

@ -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…
Cancel
Save