From 573cc1cebfd5326f862f646b8f82c0b9dd197f67 Mon Sep 17 00:00:00 2001 From: Art Yerkes Date: Tue, 25 Nov 2003 07:08:38 +0000 Subject: [PATCH] Missing NIL in Printv. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5389 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Source/Modules/ocaml.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Modules/ocaml.cxx b/Source/Modules/ocaml.cxx index f7962db86..3cc5d3d1d 100755 --- a/Source/Modules/ocaml.cxx +++ b/Source/Modules/ocaml.cxx @@ -710,7 +710,7 @@ public: Printv(f->code, tab4, "swig_result = caml_list_append(swig_result,rv);\n", NIL); if( isOverloaded ) - Printv(f->code, "free(argv);\n"); + Printv(f->code, "free(argv);\n", NIL); Printv(f->code, tab4, "CAMLreturn(swig_result);\n", NIL ); Printv(f->code, "}\n",NIL);