Skip to content

Commit 4f0c7eb

Browse files
committed
context BUGFIX typo
1 parent 44ea1b2 commit 4f0c7eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/context.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ ly_ctx_new(const char *search_dir, uint32_t options, struct ly_ctx **new_ctx)
340340
}
341341

342342
/* create dummy in */
343-
rc = ly_in_new_memory(sep, &in);
343+
rc = ly_in_new_memory(internal_modules[0].data, &in);
344344
LY_CHECK_GOTO(rc, cleanup);
345345

346346
/* load internal modules */

0 commit comments

Comments
 (0)