From d1cd10421f8bfeee791ea7ecd1674eccd00000ae Mon Sep 17 00:00:00 2001 From: Mitchell Blank Jr Date: Tue, 22 May 2012 01:03:54 -0700 Subject: change example code to do mrb_close() I was hoping this would cause valgrind to complain less, but there is still a lot of memory leaked (does mrb_close() actually free all of the managed blocks?) Anyway this helps somewhat and is good practice --- test/driver.c | 1 + 1 file changed, 1 insertion(+) (limited to 'test') diff --git a/test/driver.c b/test/driver.c index afc93b10b..4651d75fc 100644 --- a/test/driver.c +++ b/test/driver.c @@ -55,6 +55,7 @@ main(void) else { /* no */ } + mrb_close(mrb); return 0; } -- cgit v1.2.3