fixed mem_clean()

Signed-off-by: nixnodes <code@eth.si>