backend_firefox: fix bookmark_check()

Regression in commit 85b02f6c2b.
This commit is contained in:
CismonX 2025-04-03 10:23:54 +08:00
parent 5ad23ac8f6
commit 763bba9444
No known key found for this signature in database
GPG key ID: 3094873E29A482FB

View file

@ -2394,6 +2394,7 @@ bookmark_check_cb (
if (dentry == NULL) {
dentry = xmalloc(sizeof(*dentry) + name_len);
dentry->id = id;
dentry->hashcode = hashcode;
dentry->name_len = name_len;
memcpy(dentry->name, name, name_len);