aboutsummaryrefslogtreecommitdiff
path: root/hardinfo2/devices.c
diff options
context:
space:
mode:
authorLeandro A. F. Pereira <leandro@hardinfo.org>2007-01-02 23:27:13 +0000
committerLeandro A. F. Pereira <leandro@hardinfo.org>2007-01-02 23:27:13 +0000
commitbe4b5ba0d143edd1001f33d226e10ef2c58f42ff (patch)
tree6ee8a8e843f8d569470da762c0ad14a141403809 /hardinfo2/devices.c
parent1b98077c3f22134b7700965e47b96597a78eecbf (diff)
Cleanups.
Diffstat (limited to 'hardinfo2/devices.c')
-rw-r--r--hardinfo2/devices.c3
1 files changed, 3 insertions, 0 deletions
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();