From 91a8e46284351de877a26ebfac074a2566813489 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Tue, 3 Nov 2015 14:06:32 +0000 Subject: [PATCH] Closed memory leak in case of error with file hiding. Coverity CID 28746 to 28750. --- xorriso/iso_manip.c | 2 +- xorriso/xorriso_timestamp.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/xorriso/iso_manip.c b/xorriso/iso_manip.c index 17af61be..a287e2c0 100644 --- a/xorriso/iso_manip.c +++ b/xorriso/iso_manip.c @@ -463,7 +463,7 @@ cannot_open_dir:; if(hide_attrs != 3) { ret= Xorriso_path_is_hidden(xorriso, disk_path, 0); if(ret<0) - return(ret); + goto ex; if(ret>=0) hide_attrs|= ret; } diff --git a/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index afb28ba4..30f1a9b1 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2015.11.03.130551" +#define Xorriso_timestamP "2015.11.03.140546"