Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Nov 2014 16:07:15 +0000 (UTC)
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r275259 - stable/10/usr.sbin/iscsid
Message-ID:  <201411291607.sATG7FvO067679@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: trasz
Date: Sat Nov 29 16:07:15 2014
New Revision: 275259
URL: https://svnweb.freebsd.org/changeset/base/275259

Log:
  MFC r271366 (by mav@):
  
  Fix memory leak, reported by Coverity.

Modified:
  stable/10/usr.sbin/iscsid/login.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/usr.sbin/iscsid/login.c
==============================================================================
--- stable/10/usr.sbin/iscsid/login.c	Sat Nov 29 16:01:44 2014	(r275258)
+++ stable/10/usr.sbin/iscsid/login.c	Sat Nov 29 16:07:15 2014	(r275259)
@@ -210,6 +210,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?201411291607.sATG7FvO067679>