Implempented mem_free()