dlbeer / mspdebug

Debugging tool for MSP430 MCUs
GNU General Public License v2.0
190 stars 81 forks source link

Fix memleak in vector_realloc. #7

Closed inguin closed 8 years ago

inguin commented 8 years ago

When calling vector_realloc with a new capacity of 0 (as does cmd_help) the vector pointer will be set to NULL without freeing the memory it points to.