hal: Branch 'master'

Danny Kukawka dkukawka at kemper.freedesktop.org
Tue Jul 3 04:05:43 PDT 2007


 hald/linux/blockdev.c |    1 +
 1 files changed, 1 insertion(+)

New commits:
diff-tree d8c796dadae3202e7223a6996af4ed0a59133675 (from 9d447fd35831485cff998be16a922bf2683688f5)
Author: Danny Kukawka <danny.kukawka at web.de>
Date:   Tue Jul 3 13:05:46 2007 +0200

    free volumelabel from commit 2d1d72e8
    
    Free volumelabel introduced with commit 2d1d72e8 as pointed
    out by Iulian Ciorascu <iulica at box.co.uk>.

diff --git a/hald/linux/blockdev.c b/hald/linux/blockdev.c
index f1605ec..e87cc6f 100644
--- a/hald/linux/blockdev.c
+++ b/hald/linux/blockdev.c
@@ -95,6 +95,7 @@ blockdev_compute_udi (HalDevice *d)
 					      hal_device_property_get_int (d, "volume.partition.number"),
 					      hal_device_property_get_uint64 (d, "volume.size"));
 		}
+		g_free(volumelabel);
 	} else {
 		const char *model;
 		const char *serial;


More information about the hal-commit mailing list