Re: [lxc-devel] memory leak

2013-09-27 Thread Dwight Engen
On Thu, 26 Sep 2013 20:58:58 -0500 Serge Hallyn wrote: > Quoting Dwight Engen (dwight.en...@oracle.com): > > Hi guys, > > > > So the line: > > > > r = lxc_grow_array((void ***)&h->all_mount_points, > > &h->all_mount_point_capacity, k + 1, 4); > > > > in cgroup.c shows up

Re: [lxc-devel] memory leak

2013-09-26 Thread Serge Hallyn
Quoting Dwight Engen (dwight.en...@oracle.com): > Hi guys, > > So the line: > > r = lxc_grow_array((void ***)&h->all_mount_points, > &h->all_mount_point_capacity, k + 1, 4); > > in cgroup.c shows up in valgrind as a leak. I thought the appropriate > fix was: > > diff --gi