mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
Drop an extra object_lock in bookmark_folder_get_property:
smjs_get_bookmark_object will lock the bookmark for us.
This commit is contained in:
parent
9e06b709d4
commit
7f1711471f
@ -179,7 +179,6 @@ bookmark_folder_get_property(JSContext *ctx, JSObject *obj, jsval id, jsval *vp)
|
|||||||
return JS_TRUE;
|
return JS_TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
object_lock(bookmark);
|
|
||||||
*vp = OBJECT_TO_JSVAL(smjs_get_bookmark_object(bookmark));
|
*vp = OBJECT_TO_JSVAL(smjs_get_bookmark_object(bookmark));
|
||||||
|
|
||||||
return JS_TRUE;
|
return JS_TRUE;
|
||||||
|
Loading…
Reference in New Issue
Block a user