diff options
| author | 2023-03-23 18:52:19 -0400 | |
|---|---|---|
| committer | 2023-03-23 18:52:19 -0400 | |
| commit | c29453fa767e1500cb3c7e67e8a264296a77183f (patch) | |
| tree | 78734ad50be701b62b6919515bc328a483a15840 /src | |
| parent | native: NULL-terminate all struct[]s (diff) | |
native: fix nasty bug
thank you libasan
Diffstat (limited to 'src')
| -rw-r--r-- | src/jurl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -132,7 +132,7 @@ JANET_CFUN(jurl_unescape) { JANET_CFUN(jurl_new) { janet_fixarity(argc, 0); - jurl_handle *jurl = (jurl_handle*)janet_abstract(&jurl_type, sizeof(jurl)); + jurl_handle *jurl = (jurl_handle*)janet_abstract(&jurl_type, sizeof(jurl_handle)); jurl->handle = curl_easy_init(); return janet_wrap_abstract(jurl); } |
