diff options
author | Leandro A. F. Pereira <leandro@hardinfo.org> | 2006-10-15 21:57:09 +0000 |
---|---|---|
committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2006-10-15 21:57:09 +0000 |
commit | 3722c94e232b39d2a05ef359a60d25ac0cbe7887 (patch) | |
tree | 3212d41dd2db5e96fe09587a80f6606e9fb69317 /hardinfo2/arch | |
parent | 9949aa0b97e44d67713eed79859028c5ba92b1a3 (diff) |
Make menu shortcuts work, plug memory leaks, socket code cleanup
Diffstat (limited to 'hardinfo2/arch')
-rw-r--r-- | hardinfo2/arch/common/blowfish.h | 2 | ||||
-rw-r--r-- | hardinfo2/arch/common/md5.h | 2 | ||||
-rw-r--r-- | hardinfo2/arch/common/sha1.h | 2 | ||||
-rw-r--r-- | hardinfo2/arch/common/zlib.h | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/hardinfo2/arch/common/blowfish.h b/hardinfo2/arch/common/blowfish.h index ad4bdb92..d4671e45 100644 --- a/hardinfo2/arch/common/blowfish.h +++ b/hardinfo2/arch/common/blowfish.h @@ -37,7 +37,7 @@ benchmark_fish(void) gchar *bdata_path; bdata_path = g_strdup_printf("%s/hardinfo/benchmark.data", - gbr_find_data_dir(PREFIX)); + path_data); if (!g_file_get_contents(bdata_path, &tmpsrc, NULL, NULL)) { g_free(bdata_path); diff --git a/hardinfo2/arch/common/md5.h b/hardinfo2/arch/common/md5.h index 256d6c3b..41a65e97 100644 --- a/hardinfo2/arch/common/md5.h +++ b/hardinfo2/arch/common/md5.h @@ -34,7 +34,7 @@ benchmark_md5(void) gchar *bdata_path; bdata_path = g_strdup_printf("%s/hardinfo/benchmark.data", - gbr_find_data_dir(PREFIX)); + path_data); if (!g_file_get_contents(bdata_path, &tmpsrc, NULL, NULL)) { g_free(bdata_path); return g_strdup("[Error]\n" diff --git a/hardinfo2/arch/common/sha1.h b/hardinfo2/arch/common/sha1.h index 4bd07276..53616bfc 100644 --- a/hardinfo2/arch/common/sha1.h +++ b/hardinfo2/arch/common/sha1.h @@ -33,7 +33,7 @@ benchmark_sha1(void) gchar *bdata_path; bdata_path = g_strdup_printf("%s/hardinfo/benchmark.data", - gbr_find_data_dir(PREFIX)); + path_data); if (!g_file_get_contents(bdata_path, &tmpsrc, NULL, NULL)) { g_free(bdata_path); diff --git a/hardinfo2/arch/common/zlib.h b/hardinfo2/arch/common/zlib.h index 2a1007ed..0b83a6a7 100644 --- a/hardinfo2/arch/common/zlib.h +++ b/hardinfo2/arch/common/zlib.h @@ -54,7 +54,7 @@ benchmark_zlib(void) gchar *bdata_path; bdata_path = g_strdup_printf("%s/hardinfo/benchmark.data", - gbr_find_data_dir(PREFIX)); + path_data); if (!g_file_get_contents(bdata_path, &tmpsrc, NULL, NULL)) { g_free(bdata_path); |