lib/ovsdb-idl.c
/* Destroys 'idl' and all of the data structures that it manages. */
Destroys 'idl' and all of the data structures that it manages.
Destroys ' idl ' and all of the data structures that it manages .
void
ovsdb_idl_destroy(struct ovsdb_idl *idl)
{
    if (idl) {
        ovsdb_idl_clear(idl);
        jsonrpc_session_close(idl->session);
        ovsdb_idl_db_destroy(&idl->server);
        ovsdb_idl_db_destroy(&idl->data);
        json_destroy(idl->request_id);
        free(idl->remote);
        free(idl);
    }
}
void ovsdb_idl_destroy ( struct ovsdb_idl * idl ) { if ( idl ) { ovsdb_idl_clear ( idl ) ; jsonrpc_session_close ( idl -> session ) ; ovsdb_idl_db_destroy ( & idl -> server ) ; ovsdb_idl_db_destroy ( & idl -> data ) ; json_destroy ( idl -> request_id ) ; free ( idl -> remote ) ; free ( idl ) ; } }
Destroys 'idl' and all of the data structures that it manages.
Destroys ' idl ' and all of the data structures that it manages .