scripts

misc scripts and tools
git clone git://git.2f30.org/scripts
Log | Files | Refs

commit ef84ad44d30d7a7cecb9a5d076afde2b11ffe918
parent 5320493627b753ec96db1e0ef46d7724634d4b82
Author: sin <sin@2f30.org>
Date:   Thu,  1 Aug 2013 15:20:07 +0100

Re-order comment

Diffstat:
Mrandom/rballoc.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/random/rballoc.c b/random/rballoc.c @@ -183,10 +183,10 @@ free(void *p) if (!p) return; n.buf = p; - res = RB_FIND(alloc_tree, &at, &n); /* Lookup this allocation in the alloc tree. * If it is located, remove it from the alloc tree * and insert it in the free tree. */ + res = RB_FIND(alloc_tree, &at, &n); if (res) { fn = RB_REMOVE(alloc_tree, &at, res); RB_INSERT(free_tree, &ft, fn);