mirror of
https://github.com/g4klx/MMDVM.git
synced 2026-05-07 13:37:48 +00:00
Remove memory leak and other configuration funnies.
This commit is contained in:
parent
394ab8dfd1
commit
4fe1c11250
3 changed files with 8 additions and 11 deletions
|
|
@ -102,9 +102,7 @@ uint8_t CFMCTCSSTX::setParams(uint8_t frequency, uint8_t level)
|
|||
|
||||
m_length = entry->length;
|
||||
|
||||
if (m_values)
|
||||
delete[] m_values;
|
||||
|
||||
delete[] m_values;
|
||||
m_values = new q15_t[m_length];
|
||||
|
||||
q15_t arg = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue