Author: pjd Date: Mon Jun 14 21:01:13 2010 New Revision: 209175 URL: http://svn.freebsd.org/changeset/base/209175
Log: Eliminate dead code. Found by: Coverity Prevent CID: 5158 MFC after: 3 days Modified: head/sbin/hastd/hast_proto.c Modified: head/sbin/hastd/hast_proto.c ============================================================================== --- head/sbin/hastd/hast_proto.c Mon Jun 14 20:08:26 2010 (r209174) +++ head/sbin/hastd/hast_proto.c Mon Jun 14 21:01:13 2010 (r209175) @@ -329,9 +329,7 @@ hast_proto_recv_hdr(struct proto_conn *c *nvp = nv; return (0); fail: - if (nv != NULL) - nv_free(nv); - else if (eb != NULL) + if (eb != NULL) ebuf_free(eb); return (-1); } _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"