diff --git a/src/console/dlt-convert.c b/src/console/dlt-convert.c index 30ea09abd..b97a11f7a 100644 --- a/src/console/dlt-convert.c +++ b/src/console/dlt-convert.c @@ -420,6 +420,7 @@ int main(int argc, char *argv[]) if (ovalue) close(ohandle); + dlt_file_free(&file, vflag); return -1; } @@ -428,6 +429,7 @@ int main(int argc, char *argv[]) if (ovalue) close(ohandle); + dlt_file_free(&file, vflag); return -1; }