1
0
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:
Miciah Dashiel Butler Masters 2005-12-29 22:19:19 +00:00 committed by Miciah Dashiel Butler Masters
parent 9e06b709d4
commit 7f1711471f

View File

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