Free an ssh-agent handle
#include <libssh2.h>
void libssh2_agent_free(LIBSSH2_AGENT *agent);
Free an ssh-agent handle. This function also frees the internal collection of public keys.
None.
Added in libssh2 1.2
libssh2_agent_init(3) libssh2_agent_disconnect(3)