Leak fix in slug.c