Closed memory leaks found by valgrind

master
Thomas Schmitt 10 years ago
parent 5006d3da49
commit e92ec05b74
  1. 1
      xorriso/disk_ops.c
  2. 2
      xorriso/text_io.c
  3. 2
      xorriso/xorriso_timestamp.h

@ -775,6 +775,7 @@ ex:;
free((char *) current);
}
Xorriso_free_meM(name);
Dirseq_destroy(&dirseq, 0);
return(ret);
}

@ -3613,6 +3613,8 @@ int Xorriso_msg_op_parse(struct XorrisO *xorriso, char *line,
Sfile_str(xorriso->result_line, text_pt, 0);
strcat(xorriso->result_line, "\n");
Xorriso_result(xorriso, 1);
Xorriso_free_meM(text);
text= NULL;
}
} else {
sprintf(xorriso->result_line, "0\n");

@ -1 +1 @@
#define Xorriso_timestamP "2013.01.07.190934"
#define Xorriso_timestamP "2013.01.07.215658"

Loading…
Cancel
Save