fixed memory leak (in a few h memory would be full) thestack/untested_code_for_lewurm
authortheStack <sebastian.falbesoner@gmail.com>
Thu, 24 Sep 2009 02:12:07 +0000 (04:12 +0200)
committertheStack <sebastian.falbesoner@gmail.com>
Thu, 24 Sep 2009 02:12:07 +0000 (04:12 +0200)
commit32c659c8a7c88ec21c878c4778a1f2e1dca49b5f
tree2e1bf6604fdb21b743714920f05ca10461ac8b06
parent30067c9ba41b74abf505171df4f945bfe3f255d0
fixed memory leak (in a few h memory would be full)

better solution in this case: let not return usb_hidkb_getChars()
newly allocated structure, but instead the user should provide
memory for the structure and let him pass a pointer to that structure
to the function (but i didn't want to change the interface so far)
main.c