[PATCH] fix memory leak in libhal-storage
Danny Kukawka
danny.kukawka at web.de
Fri Jun 16 13:56:04 PDT 2006
Hi,
while proofing a bugreport against libhal-storage [libhal_volume_free()] for
SLED 10, I checked all members of LibHalVolume and also LibHalDrive. The
attached patch add missing members to the *_free() methodes and fix also
libhal_free_string() and libhal_free_string_array() in libhal to set the
freed pointer to NULL.
Please review.
Cheers,
Danny
ChangeLog | 9 +++++++++
libhal-storage/libhal-storage.c | 3 +++
libhal/libhal.c | 7 ++++++-
3 files changed, 18 insertions(+), 1 deletion(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-fix-libhal-storage_memoryleak.diff
Type: text/x-diff
Size: 2371 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20060616/d773f20e/hal-fix-libhal-storage_memoryleak.bin
More information about the hal
mailing list