[parted-devel] Some more memory leak patches
Matt Davis
mattdavis9 at gmail.com
Sun May 4 04:26:41 UTC 2008
On Sat, May 03, 2008 at 02:01:43PM +0200, Jim Meyering wrote:
> Matt Davis <mattdavis9 at gmail.com> wrote:
> > Here are two more patches for some memory leaks, 0005 patches a leak that occurs
> > of blocksize. I hope these memory deallocation patches are not getting
> > annoying. Just felt like doing some contributing to parted.
>
> Hi Matt,
>
> Thanks for the leak-plugging.
No problem.
> Is each of the leaks already exposed by running "make check"?
> If not, please tell us precisely how to provoke them,
> or better still, include in each patch an addition that
> will cause "make check" to exercise it.
I was just running parted through valgrind, and testing various commands. These
leaks are nothing serious in size, however creating a test for these is probably
not needed as they are merely syntactical in nature, (ie. just freeing allocated
memory that was never being free'd)
-Matt
More information about the parted-devel
mailing list