aboutsummaryrefslogtreecommitdiff
path: root/hardinfo2/arch/linux/common/storage.h
diff options
context:
space:
mode:
Diffstat (limited to 'hardinfo2/arch/linux/common/storage.h')
-rw-r--r--hardinfo2/arch/linux/common/storage.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hardinfo2/arch/linux/common/storage.h b/hardinfo2/arch/linux/common/storage.h
index 6700984b..cd3c3249 100644
--- a/hardinfo2/arch/linux/common/storage.h
+++ b/hardinfo2/arch/linux/common/storage.h
@@ -335,7 +335,7 @@ __scan_ide_devices(void)
g_hash_table_insert(moreinfo, devid, strhash);
g_free(model);
- model = "";
+ model = g_strdup("");
} else
g_free(device);