]> git.proxmox.com Git - mirror_zfs.git/commit
Free property names with spa_strfree() rather than strfree()
authorTim Chase <tim@chase2k.com>
Sat, 10 Sep 2016 15:16:13 +0000 (10:16 -0500)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 12 Sep 2016 16:45:26 +0000 (09:45 -0700)
commit20aa7a4e319ddf53e4e2dcc5fa9b3b1645e982e3
treea8403133e66f6e1364224636ed3c24c4cb256025
parentbd296705d5b6a8d3fb03d93cb2e341ea04c3809f
Free property names with spa_strfree() rather than strfree()

Since they're allocated with spa_strdup(), they should be freed with
spa_strfree() so the proper length buffer is freed.

Reviewed-by: Richard Yao <ryao@gentoo.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tim Chase <tim@chase2k.com>
Closes #5082
Closes #5086
module/zfs/dsl_prop.c