diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-08-04 17:27:43 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-08-04 17:27:43 -0400 |
| commit | 7fd74553f8df574740ab930491baade7223fe5c2 (patch) | |
| tree | d5a5b33eab53eba95b1c4008d634141702a6c8d0 | |
| parent | d7e3d399d6c494ae0b37d8abae25e813aff4316f (diff) | |
More refcount fixes
| -rw-r--r-- | compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2143,7 +2143,7 @@ CORD compile(env_t *env, ast_t *ast) if (align > 1 && offset % align > 0) offset += align - (offset % align); return CORD_all("({ table_t *t = ", compile_to_pointer_depth(env, f->fielded, 1, false), ";\n" - "ARRAY_INCREF(t->entries.data_refcount);\n" + "ARRAY_INCREF(t->entries);\n" "(array_t){.data = t->entries.data + ", CORD_asprintf("%zu", offset), ",\n .length=t->entries.length,\n .stride=t->entries.stride,\n .data_refcount=3};})"); } else if (streq(f->field, "fallback")) { |
