The session_free function frees a specified Session structure. The session_free function does not close the client socket descriptor associated with the Session structure.
#include <base/session.h> void session_free(Session *sn);
void
session_create, session_maxdns
Session *sn is the Session structure to be freed.