[PATCH] osmo-trx[master]: Resampler: Fix non-array delete for filter taps

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Tom Tsou gerrit-no-reply at lists.osmocom.org
Fri Mar 31 02:34:18 UTC 2017


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 <tom at tsou.cc>



More information about the gerrit-log mailing list