src/siri/admin/client.c
/*
 * Destroy the client request. (will be called when the socket is destroyed)
 */
Destroy the client request. (will be called when the socket is destroyed)
Destroy the client request . ( will be called when the socket is destroyed )
void siri_admin_client_free(siri_admin_client_t * adm_client)
{
    if (adm_client != NULL)
    {
        sirinet_socket_decref(adm_client->client);
        free(adm_client->host);
        free(adm_client->username);
        free(adm_client->password);
        free(adm_client->dbname);
        free(adm_client->dbpath);
        free(adm_client);
    }
}
void siri_admin_client_free ( siri_admin_client_t * adm_client ) { if ( adm_client != NULL ) { sirinet_socket_decref ( adm_client -> client ) ; free ( adm_client -> host ) ; free ( adm_client -> username ) ; free ( adm_client -> password ) ; free ( adm_client -> dbname ) ; free ( adm_client -> dbpath ) ; free ( adm_client ) ; } }
Destroy the client request.
Destroy the client request .