mirror of
https://github.com/rkd77/elinks.git
synced 2024-06-30 01:55:30 +00: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…
Reference in New Issue
Block a user