1
0
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:
Witold Filipczyk 2024-05-09 17:32:46 +02:00
parent 5779cd170b
commit b9d266c52c

View File

@ -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);