hal/libhal-storage libhal-storage.c,1.29,1.30

David Zeuthen david at freedesktop.org
Sat Feb 18 14:31:01 PST 2006


Update of /cvs/hal/hal/libhal-storage
In directory gabe:/tmp/cvs-serv9388/libhal-storage

Modified Files:
	libhal-storage.c 
Log Message:
2006-02-18  David Zeuthen  <davidz at redhat.com>

        * libhal-storage/libhal-storage.c (libhal_drive_free)
        (libhal_volume_free): Remeber to free structures; reported by
        Brendan Creane <bcreane at yahoo.com>.



Index: libhal-storage.c
===================================================================
RCS file: /cvs/hal/hal/libhal-storage/libhal-storage.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- libhal-storage.c	16 Feb 2006 03:46:44 -0000	1.29
+++ libhal-storage.c	18 Feb 2006 22:30:58 -0000	1.30
@@ -753,6 +753,8 @@
 	libhal_free_string (drive->desired_mount_point);
 	libhal_free_string (drive->mount_filesystem);
 	libhal_free_string_array (drive->capabilities);
+
+	free (drive);
 }
 
 
@@ -775,6 +777,8 @@
 	libhal_free_string (vol->uuid);
 	libhal_free_string (vol->desired_mount_point);
 	libhal_free_string (vol->mount_filesystem);
+
+	free (vol);
 }
 
 




More information about the hal-commit mailing list