diff --git a/src/bip.c b/src/bip.c index d073f72..bc9c782 100644 --- a/src/bip.c +++ b/src/bip.c @@ -92,6 +92,7 @@ static void hash_binary(char *hex, unsigned char **password, unsigned int *seed) sscanf(hex + 2 * 3, "%02x", &buf); *seed |= buf; + MAYFREE(*password); *password = md5; }