Removed erroneous free leading to a double free.