Re: PATCH: pyparted: Free c-strings on dealloc too

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux