mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
Assert smjs_ctx in get_cache_entry_object.
This commit is contained in:
parent
2e0907ff8d
commit
f5b102cfea
@ -138,6 +138,8 @@ get_cache_entry_object(struct cache_entry *cached)
|
||||
{
|
||||
JSObject *cache_entry_object;
|
||||
|
||||
assert(smjs_ctx);
|
||||
|
||||
cache_entry_object = JS_NewObject(smjs_ctx,
|
||||
(JSClass *) &cache_entry_class,
|
||||
NULL, NULL);
|
||||
|
Loading…
x
Reference in New Issue
Block a user