Here it was freed, but it wasn't when the function returned succesfully.