Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Oct 2013 13:48:08 +0000 (UTC)
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r256194 - head/usr.sbin/iscsid
Message-ID:  <201310091348.r99Dm8KA096517@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: trasz
Date: Wed Oct  9 13:48:08 2013
New Revision: 256194
URL: http://svnweb.freebsd.org/changeset/base/256194

Log:
  Plug memory leak.
  
  Coverity CID:	1087991
  Approved by:	re (gjb)
  Sponsored by:	FreeBSD Foundation

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

Modified: head/usr.sbin/iscsid/discovery.c
==============================================================================
--- head/usr.sbin/iscsid/discovery.c	Wed Oct  9 13:45:07 2013	(r256193)
+++ head/usr.sbin/iscsid/discovery.c	Wed Oct  9 13:48:08 2013	(r256194)
@@ -212,6 +212,7 @@ discovery(struct connection *conn)
 	log_debugx("discovery done; logging out");
 	request = logout_new_request(conn);
 	pdu_send(request);
+	pdu_delete(request);
 	request = NULL;
 
 	log_debugx("waiting for Logout Response");



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