svn commit: r363603 - stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs
Mark Johnston
markj at FreeBSD.org
Mon Jul 27 14:11:09 UTC 2020
Author: markj
Date: Mon Jul 27 14:11:08 2020
New Revision: 363603
URL: https://svnweb.freebsd.org/changeset/base/363603
Log:
MFC r363373:
Fix a memory leak in dsl_scan_visitbp().
PR: 247445
Modified:
stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_scan.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_scan.c
==============================================================================
--- stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_scan.c Mon Jul 27 14:10:12 2020 (r363602)
+++ stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_scan.c Mon Jul 27 14:11:08 2020 (r363603)
@@ -1791,7 +1791,7 @@ dsl_scan_visitbp(blkptr_t *bp, const zbookmark_phys_t
*bp_toread = *bp;
if (dsl_scan_recurse(scn, ds, ostype, dnp, bp_toread, zb, tx) != 0)
- return;
+ goto out;
/*
* If dsl_scan_ddt() has already visited this block, it will have
More information about the svn-src-stable
mailing list