summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--loadapi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/loadapi.c b/loadapi.c
index acf6f84..298ebf8 100644
--- a/loadapi.c
+++ b/loadapi.c
@@ -42,10 +42,11 @@ gmk_eval (const char *buffer, const gmk_floc *floc)
/* Preserve existing variable buffer context. */
char *pbuf;
unsigned int plen;
+ char *s;
install_variable_buffer (&pbuf, &plen);
- char *s = xstrdup (buffer);
+ s = xstrdup (buffer);
eval_buffer (s, floc);
free (s);