diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2011-01-10 15:47:24 +1030 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2011-01-10 15:47:24 +1030 |
commit | 7467dfe718aa1de8eba6fb16d2eb8b5b2248e017 (patch) | |
tree | aa3a044a8417f030f0cfc1fc0e1588fb2d18b8e2 /junkcode/codedr@gmail.com-grok/grok.c | |
parent | c0ea2922129a17724930f1c3b535985d7576d63e (diff) |
rbtree: don't use temporary context to destroy rbtree
It leads to a memory leak if the allocation fails (as we reparent onto NULL).
Also, the extra allocation in the failure path increases test time for
failtest (under valgrind) by a factor of 2.
Diffstat (limited to 'junkcode/codedr@gmail.com-grok/grok.c')
0 files changed, 0 insertions, 0 deletions