diff options
author | Moritz Fischer <moritz.fischer@ettus.com> | 2019-01-27 13:33:25 -0800 |
---|---|---|
committer | Brent Stapleton <brent.stapleton@ettus.com> | 2019-02-15 11:37:03 -0800 |
commit | 5f10611c16b4c5b7e68cba7d8f0252ebcdf2c750 (patch) | |
tree | f8ccf58a3bb3e56b5ecf9eedac7888caf2b729e7 /.github | |
parent | 0f6ef4bf6ed476fa7d10aef9b0af1337d1bbdf80 (diff) | |
download | uhd-5f10611c16b4c5b7e68cba7d8f0252ebcdf2c750.tar.gz uhd-5f10611c16b4c5b7e68cba7d8f0252ebcdf2c750.tar.bz2 uhd-5f10611c16b4c5b7e68cba7d8f0252ebcdf2c750.zip |
examples: tx_samples_c: Fix memory leak
Fix memory leak: 'buff' was never freed.
While we're at it replace the kludgy malloc(n*y*sizeof(float))
by calloc(sizeof(float), n*y).
Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions