mirror of https://github.com/wolfSSL/wolfssh.git
487bcef2cc
1. A couple places weren't passing the correct heap pointer to free. Normally this was ignored in the build because the WMALLOC macro left them out. Found using wolfCrypt memory logging. 2. Replaced the call to strdup() with wstrdup() that takes a heap and type parameter so sit may allocate a buffer with WMALLOC() and be freed correctly by WFREE(). 3. Tweaked the client to use a preallocated buffer for the private key rather than letting ReadKey allocate one. (Another WFREE() heap/type issue.) |
||
---|---|---|
.. | ||
client.c | ||
client.h | ||
include.am |