Closed memory leaks found by valgrind

This commit is contained in:
Thomas Schmitt 2013-01-07 21:57:49 +00:00
parent 11c7b48a35
commit 43c49f046f
3 changed files with 4 additions and 1 deletions

View File

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

View File

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

View File

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