[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 02/06: fec: fix segfault due to debug file
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 02/06: fec: fix segfault due to debug file pointer handling |
Date: |
Tue, 14 Apr 2015 15:02:54 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script.
jcorgan pushed a commit to branch maint
in repository gnuradio.
commit 8df946c2d0cf91935298bcd2d1949006b1c943d0
Author: Sean Nowlan <address@hidden>
Date: Mon Apr 13 11:47:02 2015 -0400
fec: fix segfault due to debug file pointer handling
---
gr-fec/lib/tpc_encoder.cc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gr-fec/lib/tpc_encoder.cc b/gr-fec/lib/tpc_encoder.cc
index 941bd7b..44c065f 100755
--- a/gr-fec/lib/tpc_encoder.cc
+++ b/gr-fec/lib/tpc_encoder.cc
@@ -336,7 +336,8 @@ void tpc_encoder::generic_work(void *inBuffer, void
*outBuffer) {
tpc_encoder::~tpc_encoder()
{
- fclose(fp);
+ if(fp)
+ fclose(fp);
}
}
- [Commit-gnuradio] [gnuradio] branch maint updated (0f738ac -> 5ae1e84), git, 2015/04/14
- [Commit-gnuradio] [gnuradio] 06/06: Merge remote-tracking branch 'tom/docs/rework0' into maint, git, 2015/04/14
- [Commit-gnuradio] [gnuradio] 04/06: fec: init debug file pointer in TPC encoder, git, 2015/04/14
- [Commit-gnuradio] [gnuradio] 05/06: Fixed non-virtual dtor pseudoissue in [flat_]flowgraph, git, 2015/04/14
- [Commit-gnuradio] [gnuradio] 01/06: docs: doxyfile maintenance., git, 2015/04/14
- [Commit-gnuradio] [gnuradio] 02/06: fec: fix segfault due to debug file pointer handling,
git <=
- [Commit-gnuradio] [gnuradio] 03/06: fec: TPC encoder whitespace cleanup, git, 2015/04/14