mirror of
https://github.com/transmission/transmission
synced 2025-02-22 14:10:34 +00:00
(trunk libT) oops, r12313 committed the wrong version of list.c
This commit is contained in:
parent
e0f6ade71e
commit
46dd6f17ab
1 changed files with 6 additions and 3 deletions
|
@ -36,11 +36,14 @@ node_alloc( void )
|
||||||
|
|
||||||
static void
|
static void
|
||||||
node_free( tr_list* node )
|
node_free( tr_list* node )
|
||||||
|
{
|
||||||
|
if( node != NULL )
|
||||||
{
|
{
|
||||||
*node = TR_LIST_CLEAR;
|
*node = TR_LIST_CLEAR;
|
||||||
node->next = recycled_nodes;
|
node->next = recycled_nodes;
|
||||||
recycled_nodes = node;
|
recycled_nodes = node;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/***
|
/***
|
||||||
****
|
****
|
||||||
|
|
Loading…
Reference in a new issue