From e713cd28c80a07b233f7f8f2912d4e7f6563583e Mon Sep 17 00:00:00 2001 From: Marius Vollmer Date: Tue, 13 Nov 2001 22:15:42 +0000 Subject: [PATCH] (scm_c_export): Call va_end after collecting the symbols. --- libguile/modules.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libguile/modules.c b/libguile/modules.c index f304df3df..554b9f141 100644 --- a/libguile/modules.c +++ b/libguile/modules.c @@ -191,6 +191,7 @@ scm_c_export (const char *name, ...) *tail = scm_cons (scm_str2symbol (n), SCM_EOL); tail = SCM_CDRLOC (*tail); } + va_end (ap); scm_call_2 (SCM_VARIABLE_REF (module_export_x_var), scm_current_module (), names); }