From bd159f5ce390f0047f429e3fa93d84e6a9981853 Mon Sep 17 00:00:00 2001
From: Philip Balister <philip@balister.org>
Date: Tue, 2 Oct 2018 11:41:04 -0400
Subject: [PATCH 2/5] polar_decoder_sc_systematic.cc: Fix memory leak.

 * Addresses Coverity 1375145, 1375144, and 1375140.

Signed-off-by: Philip Balister <philip@balister.org>
---
 gr-fec/lib/polar_decoder_sc_systematic.cc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gr-fec/lib/polar_decoder_sc_systematic.cc b/gr-fec/lib/polar_decoder_sc_systematic.cc
index c65c80f7aa..8eb6103112 100644
--- a/gr-fec/lib/polar_decoder_sc_systematic.cc
+++ b/gr-fec/lib/polar_decoder_sc_systematic.cc
@@ -54,6 +54,9 @@ namespace gr {
 
       polar_decoder_sc_systematic::~polar_decoder_sc_systematic()
       {
+          volk_free(d_llr_vec);
+          volk_free(d_u_hat_vec);
+          volk_free(d_frame_vec);
       }
 
       void
-- 
2.11.0

