summaryrefslogtreecommitdiff
path: root/gr-trellis
diff options
context:
space:
mode:
authorAchilleas Anastasopoulos2012-04-07 10:14:30 -0400
committerTom Rondeau2012-04-07 10:14:30 -0400
commit77821f7b7e1910c9cbab7473348c119d53188b9f (patch)
tree29e4ef4fc37731bfaa1b206ea49ca14eb91c7728 /gr-trellis
parentfaf1d33bb2dee40917aa930aa0eee37672dd0fe6 (diff)
downloadgnuradio-77821f7b7e1910c9cbab7473348c119d53188b9f.tar.gz
gnuradio-77821f7b7e1910c9cbab7473348c119d53188b9f.tar.bz2
gnuradio-77821f7b7e1910c9cbab7473348c119d53188b9f.zip
trellis: bug fix to make sure file is closed.
Diffstat (limited to 'gr-trellis')
-rw-r--r--gr-trellis/src/lib/fsm.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/gr-trellis/src/lib/fsm.cc b/gr-trellis/src/lib/fsm.cc
index 71e54b05a..65c4b4b32 100644
--- a/gr-trellis/src/lib/fsm.cc
+++ b/gr-trellis/src/lib/fsm.cc
@@ -111,6 +111,8 @@ fsm::fsm(const char *name)
}
}
}
+
+ fclose(fsmfile);
generate_PS_PI();
generate_TM();