Project

General

Profile

Bug #6390

Free props in ztest_init()

Added by Richard Yao almost 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
zfs - Zettabyte File System
Start date:
2015-10-24
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage

Description

Valgrind complained about this and it's absolutely right. The
props nvlist was not being freed in ztest_init.

https://github.com/zfsonlinux/zfs/commit/85802aa42bf8f878022ec73ddde6bf3702f67d01
https://github.com/openzfs/openzfs/pull/7

Reviewed by: Brian Behlendorf <>
Reviewed by: Matthew Ahrens <>

History

#1

Updated by Electric Monk almost 4 years ago

  • % Done changed from 0 to 100
  • Status changed from New to Closed

git commit 1df447eb94a6e63a6b25973d3ff13999b5e1c126

commit  1df447eb94a6e63a6b25973d3ff13999b5e1c126
Author: Richard Yao <ryao@gentoo.org>
Date:   2015-10-29T22:57:03.000Z

    6390 Free props in ztest_init()
    Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov>
    Reviewed by: Matthew Ahrens <mahrens@delphix.com>
    Reviewed by: Dan Kimmel <dan.kimmel@delphix.com>
    Approved by: Robert Mustacchi <rm@joyent.com>

Also available in: Atom PDF