Changed ftp_i_managed_buffer_free to set variable to NULL afterwards