Why is this happening(derping my freeing code).