aboutsummaryrefslogtreecommitdiffstats
path: root/extension/filefuncs.c
diff options
context:
space:
mode:
Diffstat (limited to 'extension/filefuncs.c')
-rw-r--r--extension/filefuncs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/extension/filefuncs.c b/extension/filefuncs.c
index 12badb5b..194db28f 100644
--- a/extension/filefuncs.c
+++ b/extension/filefuncs.c
@@ -189,6 +189,8 @@ NODE *tree;
file = get_argument(tree, 0);
array = get_argument(tree, 1);
+ array = get_array(array);
+
/* empty out the array */
assoc_clear(array);