Changeset 9c31643 in mainline


Ignore:
Timestamp:
2011-02-03T19:35:15Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b366a1bc
Parents:
ca2a18e
Message:

Do not free the connection_t when it is still in use.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/async.c

    rca2a18e r9c31643  
    294294}
    295295
    296 /** Connection hash table removal callback function.
    297  *
    298  * This function is called whenever a connection is removed from the connection
    299  * hash table.
    300  *
    301  * @param item Connection hash table item being removed.
    302  *
    303  */
    304296static void conn_remove(link_t *item)
    305297{
    306         free(hash_table_get_instance(item, connection_t, link));
    307298}
    308299
     
    641632                ipc_answer_0(FIBRIL_connection->close_callid, EOK);
    642633       
     634        free(FIBRIL_connection);
    643635        return 0;
    644636}
Note: See TracChangeset for help on using the changeset viewer.