Fix a couple of trivial memory leaks

Signed-off-by: Lukas Fleischer <info@cryptocrack.de>