Mercurial > repos > rhope
diff test/fib.c @ 15:b71bab34ec65
Added forgotten release_ref to fib test
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Tue, 26 May 2009 23:36:41 -0400 |
parents | 31f8182f3433 |
children | d4b44ae2e34a |
line wrap: on
line diff
--- a/test/fib.c Mon May 25 23:34:36 2009 -0400 +++ b/test/fib.c Tue May 26 23:36:41 2009 -0400 @@ -30,10 +30,14 @@ MCall(METHOD_IF, 1) if(call->params[0]) + { + release_ref(call->params[0]); locals->out = add_ref(const_1); + } if(call->params[1]) { + release_ref(call->params[1]); call->params[0] = add_ref(cdata->params[0]); call->params[1] = add_ref(const_1); MCall(METHOD_SUB, 2)