summaryrefslogtreecommitdiffhomepage
path: root/ir/stat
diff options
context:
space:
mode:
authorSebastian Buchwald <Sebastian.Buchwald@kit.edu>2013-02-11 14:32:55 +0100
committerSebastian Buchwald <Sebastian.Buchwald@kit.edu>2013-02-11 14:33:02 +0100
commit95e2fc25e25c77961ef73dc93850e4561703b6e7 (patch)
tree17374588b893d2dbd885e1f9ce62d70cbcec9b9e /ir/stat
parent8009990dbeeca664c7d7a7e570e80d857c87c955 (diff)
More consequent disabling of statev.
Diffstat (limited to 'ir/stat')
-rw-r--r--ir/stat/statev.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ir/stat/statev.c b/ir/stat/statev.c
index 765ac12..e0e4356 100644
--- a/ir/stat/statev.c
+++ b/ir/stat/statev.c
@@ -201,7 +201,8 @@ void stat_ev_end(void)
{
if (stat_ev_file != NULL) {
fclose(stat_ev_file);
- stat_ev_file = NULL;
+ stat_ev_file = NULL;
+ stat_ev_enabled = 0;
}
if (filter != NULL) {
regfree(filter);