summaryrefslogtreecommitdiff
path: root/types.c
diff options
context:
space:
mode:
Diffstat (limited to 'types.c')
-rw-r--r--types.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/types.c b/types.c
index cd355d4..563be4a 100644
--- a/types.c
+++ b/types.c
@@ -894,7 +894,7 @@ static bool types_expr(Typer *tr, Expression *e) {
free(filename);
return false;
}
- if (!import_pkg(pkg, fp, filename, e->where)) {
+ if (!import_pkg(tr->allocr, pkg, fp, filename, e->where)) {
free(filename);
return false;
}