Re: [PATCH] ndctl: fix libdaxctl memory leak

2018-04-10 Thread Dave Jiang
On 04/10/2018 10:01 AM, Dan Williams wrote: > On Tue, Apr 10, 2018 at 9:56 AM, Dave Jiang wrote: >> When daxctl_unref is releasing the context, we should make sure that the >> regions and devices are also being released. >> >> Signed-off-by: Dave Jiang

Re: [PATCH] ndctl: fix libdaxctl memory leak

2018-04-10 Thread Dan Williams
On Tue, Apr 10, 2018 at 9:56 AM, Dave Jiang wrote: > When daxctl_unref is releasing the context, we should make sure that the > regions and devices are also being released. > > Signed-off-by: Dave Jiang > --- > daxctl/lib/libdaxctl.c |7 +++ >