diff options
| author | 2023-03-23 18:53:16 -0400 | |
|---|---|---|
| committer | 2023-03-23 18:53:16 -0400 | |
| commit | eca54ccbc3ce6c248bf83e94f78d9af15bca907f (patch) | |
| tree | 3f32ea1bce2dd1a91f9faee6a9f07f0983422dea /src | |
| parent | Revert "native: NULL-terminate all struct[]s" (diff) | |
native: fix two potential runoffs
Diffstat (limited to 'src')
| -rw-r--r-- | src/jurl.c | 1 | ||||
| -rw-r--r-- | src/main.c | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -134,6 +134,7 @@ JANET_CFUN(jurl_new) { janet_fixarity(argc, 0); jurl_handle *jurl = (jurl_handle*)janet_abstract(&jurl_type, sizeof(jurl_handle)); jurl->handle = curl_easy_init(); + jurl->cleanup = NULL; return janet_wrap_abstract(jurl); } @@ -152,6 +152,7 @@ static const JanetRegExt cfuns[] = { // jurl_setopt.c JANET_REG("setopt", jurl_setopt), + JANET_REG_END, }; JANET_MODULE_ENTRY(JanetTable *env) { |
