NT7S / Si5351

Library for the Si5351 clock generator IC in the avr-gcc environment
GNU General Public License v3.0
33 stars 11 forks source link

Memory leak #4

Open EU1KY opened 9 years ago

EU1KY commented 9 years ago

si5351_set_pll() does not free allocated buffer. BTW, why malloc's are used? Create 30-byte buffer on the stack and avoid all problems.

danak6jq commented 9 years ago

Only need 8-byte buffers :-)

NT7S commented 9 years ago

Thanks, I will fix this once I've completed my work on the Arduino library and can focus on this code again.