svn commit: r209175 - head/sbin/hastd
Pawel Jakub Dawidek
pjd at FreeBSD.org
Mon Jun 14 21:01:13 UTC 2010
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);
}
More information about the svn-src-all
mailing list