From: Eric Leblond Date: Thu, 6 Sep 2012 09:44:25 +0000 (+0200) Subject: tls: avoid double close. X-Git-Tag: suricata-1.4beta1~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=41c72a537a0365eceb72e6edb2276c852fdec9b9;p=thirdparty%2Fsuricata.git tls: avoid double close. This should fix issue 717441 reported by Coverity. --- diff --git a/src/log-tlslog.c b/src/log-tlslog.c index 0453726cc4..ed8aa32766 100644 --- a/src/log-tlslog.c +++ b/src/log-tlslog.c @@ -354,6 +354,7 @@ end_fwrite_fpmeta: fclose(fpmeta); SCLogWarning(SC_ERR_FWRITE, "Unable to write certificate metafile"); } + SCReturn; end_fp: fclose(fp); }