[hamradio-commits] [gnss-sdr] 129/251: fixing deallocation

Carles Fernandez carles_fernandez-guest at moszumanska.debian.org
Wed Sep 2 00:22:42 UTC 2015


This is an automated email from the git hooks/post-receive script.

carles_fernandez-guest pushed a commit to branch master
in repository gnss-sdr.

commit 4a738471dc2575c9956aff74d405be724ac73db7
Author: Carles Fernandez <carles.fernandez at gmail.com>
Date:   Sat May 23 09:02:06 2015 +0200

    fixing deallocation
---
 src/algorithms/libs/galileo_e5_signal_processing.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/algorithms/libs/galileo_e5_signal_processing.cc b/src/algorithms/libs/galileo_e5_signal_processing.cc
index 29c4e59..2096f68 100644
--- a/src/algorithms/libs/galileo_e5_signal_processing.cc
+++ b/src/algorithms/libs/galileo_e5_signal_processing.cc
@@ -126,5 +126,5 @@ void galileo_e5_a_code_gen_complex_sampled(std::complex<float>* _dest, char _Sig
             _dest[(i + delay) % _samplesPerCode] = _code[i];
         }
 
-    free(_code);
+    delete[] _code;
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hamradio/gnss-sdr.git



More information about the pkg-hamradio-commits mailing list