mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[smjs] doubled alloc
This commit is contained in:
parent
b114aab952
commit
cf0a41a308
@ -45,7 +45,7 @@ script_hook_url(va_list ap, void *data)
|
||||
} else {
|
||||
char *str = jsval_to_string(smjs_ctx, r_rval);
|
||||
|
||||
mem_free_set(url, stracpy(str));
|
||||
mem_free_set(url, str);
|
||||
}
|
||||
}
|
||||
smjs_ses = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user