C_RESULT video_close (video_cfg_t *cfg)
{

	// Shut down the Python (or Matlab or C) agent
	agent_close();
    
    return C_OK;
}
示例#2
0
void agent_free(ssh_agent agent) {
  if (agent) {
    if (agent->ident) {
      ssh_buffer_free(agent->ident);
    }
    if (agent->sock) {
      agent_close(agent);
      ssh_socket_free(agent->sock);
    }
    SAFE_FREE(agent);
  }
}