mirror of
https://github.com/transmission/transmission
synced 2025-02-21 21:57:01 +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
|
@ -37,9 +37,12 @@ node_alloc( void )
|
||||||
static void
|
static void
|
||||||
node_free( tr_list* node )
|
node_free( tr_list* node )
|
||||||
{
|
{
|
||||||
*node = TR_LIST_CLEAR;
|
if( node != NULL )
|
||||||
node->next = recycled_nodes;
|
{
|
||||||
recycled_nodes = node;
|
*node = TR_LIST_CLEAR;
|
||||||
|
node->next = recycled_nodes;
|
||||||
|
recycled_nodes = node;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/***
|
/***
|
||||||
|
|
Loading…
Reference in a new issue