summaryrefslogtreecommitdiff
path: root/hald/linux/blockdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'hald/linux/blockdev.c')
-rw-r--r--hald/linux/blockdev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hald/linux/blockdev.c b/hald/linux/blockdev.c
index ec4e4053..3fbb51aa 100644
--- a/hald/linux/blockdev.c
+++ b/hald/linux/blockdev.c
@@ -967,6 +967,7 @@ hotplug_event_begin_add_blockdev (const gchar *sysfs_path, const gchar *device_f
link = g_strdup_printf ("%s/%s", path, dp->d_name);
target = resolve_symlink (link);
HAL_INFO ((" %s -> %s", link, target));
+ g_free (link);
if (target != NULL) {
HalDevice *slave_volume;