summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devices/yaboot-parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/devices/yaboot-parser.c b/devices/yaboot-parser.c
index fc55047..8d65ce2 100644
--- a/devices/yaboot-parser.c
+++ b/devices/yaboot-parser.c
@@ -203,7 +203,7 @@ static int yaboot_parse(const char *devicepath, const char *_mountpoint)
sprintf(endp+1, "%d", partnr);
mountpoint = mountpoint_for_device(new_dev);
- dev->id = new_dev;
+ free(new_dev);
}
}
OpenPOWER on IntegriCloud