mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-04 08:17:17 -05:00
[mujs] dom_string_unref
This commit is contained in:
parent
5779cd170b
commit
b9d266c52c
@ -209,6 +209,10 @@ mjs_event_constructor(js_State *J)
|
||||
// js_pop(J, 1);
|
||||
exc = dom_event_init(event, typ, bubbles, cancelable);
|
||||
|
||||
if (typ) {
|
||||
dom_string_unref(typ);
|
||||
}
|
||||
|
||||
js_newobject(J);
|
||||
{
|
||||
js_newuserdata(J, "event", event, mjs_event_finalizer);
|
||||
|
Loading…
Reference in New Issue
Block a user