Review at  https://gerrit.osmocom.org/2187

Resampler: Fix non-array delete for filter taps

Change-Id: I59cdb01809da5940c74aaae9d17f413aefbf04b2
Fixes: Coverity CID 149349
---
M Transceiver52M/Resampler.cpp
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-trx refs/changes/87/2187/1

diff --git a/Transceiver52M/Resampler.cpp b/Transceiver52M/Resampler.cpp
index 8a73b79..9a4ea5b 100644
--- a/Transceiver52M/Resampler.cpp
+++ b/Transceiver52M/Resampler.cpp
@@ -112,7 +112,7 @@
                }
        }
 
-       delete proto;
+       delete[] proto;
 
        return true;
 }

-- 
To view, visit https://gerrit.osmocom.org/2187
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I59cdb01809da5940c74aaae9d17f413aefbf04b2
Gerrit-PatchSet: 1
Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Owner: Tom Tsou <t...@tsou.cc>

Reply via email to