1
0
Fork 0
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:
Jordan Lee 2011-04-05 00:59:49 +00:00
parent e0f6ade71e
commit 46dd6f17ab

View file

@ -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;
} }
}
/*** /***
**** ****