aboutsummaryrefslogtreecommitdiff
path: root/hardinfo2/fbench.c
diff options
context:
space:
mode:
authorLeandro A. F. Pereira <leandro@hardinfo.org>2007-07-05 19:21:21 +0000
committerLeandro A. F. Pereira <leandro@hardinfo.org>2007-07-05 19:21:21 +0000
commitcdc40b11f4d7a3050bda164b2d92afc23616b7f9 (patch)
tree03cd201e20016a39a60e875e591b1d969d68f425 /hardinfo2/fbench.c
parented4d0b93832732a199f4fb07c70350401f2eaceb (diff)
Cleanups. Plug most of the memleaks.
Diffstat (limited to 'hardinfo2/fbench.c')
-rw-r--r--hardinfo2/fbench.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/hardinfo2/fbench.c b/hardinfo2/fbench.c
index 2b4501d8..20f01a35 100644
--- a/hardinfo2/fbench.c
+++ b/hardinfo2/fbench.c
@@ -269,7 +269,7 @@ static double spectral_line[9];
static double s[max_surfaces][5];
static double od_sa[2][2];
-/*static char outarr[8][80];*/ /* Computed output of program goes here */
+ /*static char outarr[8][80];*//* Computed output of program goes here */
int itercount; /* The iteration counter for the main loop
in the program is made global so that
@@ -736,9 +736,10 @@ void fbench()
}
#ifdef __FBENCH_TEST__
-int main(void) {
- fbench();
+int main(void)
+{
+ fbench();
- return 0;
+ return 0;
}
#endif