[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 18/23: crc32_async: fix memory leak; coveri
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 18/23: crc32_async: fix memory leak; coverity 1215946 |
Date: |
Thu, 26 Jun 2014 19:54:45 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script.
trondeau pushed a commit to branch master
in repository gnuradio.
commit 3d88d3c7b5332850cad7c4935d81ed5adcfa705f
Author: Marcus Müller <address@hidden>
Date: Wed Jun 18 11:11:47 2014 +0200
crc32_async: fix memory leak; coverity 1215946
---
gr-digital/lib/crc32_async_bb_impl.cc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gr-digital/lib/crc32_async_bb_impl.cc
b/gr-digital/lib/crc32_async_bb_impl.cc
index c5c5187..0c3bdf7 100644
--- a/gr-digital/lib/crc32_async_bb_impl.cc
+++ b/gr-digital/lib/crc32_async_bb_impl.cc
@@ -79,9 +79,10 @@ namespace gr {
memcpy((void*)bytes_out, (const void*)bytes_in, pkt_len);
memcpy((void*)(bytes_out + pkt_len), &crc, 4); // FIXME
big-endian/little-endian, this might be wrong
- pmt::pmt_t output = pmt::init_u8vector(pkt_len+4, bytes_out);
+ pmt::pmt_t output = pmt::init_u8vector(pkt_len+4, bytes_out); // this
copies the values from bytes_out into the u8vector
pmt::pmt_t msg_pair = pmt::cons(meta, output);
message_port_pub(d_out_port, msg_pair);
+ volk_free(bytes_out);
}
void
- [Commit-gnuradio] [gnuradio] 13/23: filter: adds a message input port to frequency xlating FIR filter to update the frequency., (continued)
- [Commit-gnuradio] [gnuradio] 13/23: filter: adds a message input port to frequency xlating FIR filter to update the frequency., git, 2014/06/26
- [Commit-gnuradio] [gnuradio] 03/23: digital: expose set_constellation message port in GRC for constellation_receiver., git, 2014/06/26
- [Commit-gnuradio] [gnuradio] 08/23: qtgui: adds an alternative qss file., git, 2014/06/26
- [Commit-gnuradio] [gnuradio] 14/23: docs: adding docs for blocks::copy and digital::constellation_receiver to describe their message ports., git, 2014/06/26
- [Commit-gnuradio] [gnuradio] 15/23: qtgui: dynamically adjust min/max amplitude for qtgui freq and waterfall plots., git, 2014/06/26
- [Commit-gnuradio] [gnuradio] 16/23: Merge branch 'maint', git, 2014/06/26
- [Commit-gnuradio] [gnuradio] 11/23: qtgui: for sink_x, waterfall_sink_x, and freq_sink_x, when the display is double-clicked, the center frequency is adjusted to the clicked frequency and a message is posted containing the new center frequency., git, 2014/06/26
- [Commit-gnuradio] [gnuradio] 17/23: replaced dynamic_ by static_cast; typechecking done before, git, 2014/06/26
- [Commit-gnuradio] [gnuradio] 02/23: cmake: Include GrBoost at the top level such that the correct default BOOST variables are set throughout the build. Because of the way CMake handles non-cached variables, each GR component (e.g., Volk) can change the BOOST variables for its particular needs without overriding these default values for other components., git, 2014/06/26
- [Commit-gnuradio] [gnuradio] 06/23: blocks.head: added callback to GRC definition, git, 2014/06/26
- [Commit-gnuradio] [gnuradio] 18/23: crc32_async: fix memory leak; coverity 1215946,
git <=
- [Commit-gnuradio] [gnuradio] 23/23: build: removed some gcc warnings., git, 2014/06/26
- [Commit-gnuradio] [gnuradio] 21/23: Merge remote-tracking branch 'mmueller/blocks_grc_add_head_set_length_cb', git, 2014/06/26
- [Commit-gnuradio] [gnuradio] 20/23: Merge remote-tracking branch 'michaelld/boost_once', git, 2014/06/26
- [Commit-gnuradio] [gnuradio] 19/23: gr-fec: cc_decoder: fix leak; coverity 1215943, git, 2014/06/26
- [Commit-gnuradio] [gnuradio] 22/23: Merge branch 'maint', git, 2014/06/26