w32: Fix memory leak for npth_create.
authorNIIBE Yutaka <gniibe@fsij.org>
Thu, 30 Nov 2017 02:14:23 +0000 (11:14 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Thu, 30 Nov 2017 02:14:23 +0000 (11:14 +0900)
commit167b0dde6f77a15af2e75da570e88720a335705e
tree499fab3db26cceb6f9740f3eddc02b74588e1376
parent8d778f48c6bfbc2218e5c649fa62c7d1a139ed5c
w32: Fix memory leak for npth_create.

* w32/npth.c (npth_create): Free ATTR when allocated.
(npth_attr_destroy): Clear.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
w32/npth.c