Fixed bug in frames_free_process