From be4b5ba0d143edd1001f33d226e10ef2c58f42ff Mon Sep 17 00:00:00 2001 From: "Leandro A. F. Pereira" Date: Tue, 2 Jan 2007 23:27:13 +0000 Subject: Cleanups. --- hardinfo2/devices.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hardinfo2/devices.c b/hardinfo2/devices.c index 08ba754c..34d4dbcf 100644 --- a/hardinfo2/devices.c +++ b/hardinfo2/devices.c @@ -255,6 +255,9 @@ void scan_storage(gboolean reload) { SCAN_START(); + if (*storage_list) + g_free(storage_list); + __scan_ide_devices(); __scan_scsi_devices(); SCAN_END(); -- cgit v1.2.3