[MERGED] 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
Mon Apr 3 18:06:49 UTC 2017


Tom Tsou has submitted this change and it was merged.

Change subject: Resampler: Fix non-array delete for filter taps
......................................................................


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(-)

Approvals:
  Tom Tsou: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/Transceiver52M/Resampler.cpp b/Transceiver52M/Resampler.cpp
index 72b11a9..1927e45 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: merged
Gerrit-Change-Id: I59cdb01809da5940c74aaae9d17f413aefbf04b2
Gerrit-PatchSet: 2
Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Owner: Tom Tsou <tom at tsou.cc>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Tom Tsou <tom at tsou.cc>



More information about the gerrit-log mailing list