svn commit: r300746 - head/usr.bin/iscsictl
Edward Tomasz Napierala
trasz at FreeBSD.org
Thu May 26 14:21:04 UTC 2016
Author: trasz
Date: Thu May 26 14:21:02 2016
New Revision: 300746
URL: https://svnweb.freebsd.org/changeset/base/300746
Log:
Do libxo cleanup even in case of errors.
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
Modified:
head/usr.bin/iscsictl/iscsictl.c
Modified: head/usr.bin/iscsictl/iscsictl.c
==============================================================================
--- head/usr.bin/iscsictl/iscsictl.c Thu May 26 14:19:24 2016 (r300745)
+++ head/usr.bin/iscsictl/iscsictl.c Thu May 26 14:21:02 2016 (r300746)
@@ -987,10 +987,11 @@ main(int argc, char **argv)
if (error != 0)
xo_err(1, "close");
+ xo_close_container("iscsictl");
+ xo_finish();
+
if (failed != 0)
return (1);
- xo_close_container("iscsictl");
- xo_finish();
return (0);
}
More information about the svn-src-all
mailing list