Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Sep 2014 08:06:32 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r271366 - head/usr.sbin/iscsid
Message-ID:  <201409100806.s8A86WeS001714@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Wed Sep 10 08:06:31 2014
New Revision: 271366
URL: http://svnweb.freebsd.org/changeset/base/271366

Log:
  Fix memory leak, reported by Coverity.
  
  CID:		1229996

Modified:
  head/usr.sbin/iscsid/login.c

Modified: head/usr.sbin/iscsid/login.c
==============================================================================
--- head/usr.sbin/iscsid/login.c	Wed Sep 10 07:55:51 2014	(r271365)
+++ head/usr.sbin/iscsid/login.c	Wed Sep 10 08:06:31 2014	(r271366)
@@ -213,6 +213,7 @@ login_handle_redirection(struct connecti
 
 	log_debugx("received redirection to \"%s\"", target_address);
 	kernel_modify(conn, target_address);
+	keys_delete(response_keys);
 }
 
 static struct pdu *



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409100806.s8A86WeS001714>