[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: PATCH: pyparted: Free c-strings on dealloc too
- From: Chris Lumens <clumens redhat com>
- To: anaconda-devel-list redhat com
- Subject: Re: PATCH: pyparted: Free c-strings on dealloc too
- Date: Fri, 20 Feb 2009 10:47:56 -0500
> In a couple of places we store strdup-ed C-strings in our python objects, free
> these when the python objects get destroyed.
> ---
> src/pydevice.c | 3 +++
> src/pydisk.c | 1 +
> src/pyfilesys.c | 1 +
> src/pytimer.c | 20 ++++++++++++++++++++
> 4 files changed, 25 insertions(+), 0 deletions(-)
This looks fine, though I'd still rather kill pytimer.c than do anything
to it. We've been waffling on keeping it or not, and I'm strongly on
the side of not. I'll apply, push, etc. Thanks for the patch.
- Chris
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]