mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-25 05:27:00 +03:00
fix infinite loop when copying private data
svn path=/trunk/netsurf/; revision=13071
This commit is contained in:
parent
67c9262403
commit
c970cc6dd4
@ -365,6 +365,7 @@ hubbub_private *copy_private(const hubbub_private *p, uint32_t refcnt)
|
|||||||
pvt->base.classes[pvt->base.nclasses] =
|
pvt->base.classes[pvt->base.nclasses] =
|
||||||
lwc_string_ref(p->base.classes[
|
lwc_string_ref(p->base.classes[
|
||||||
pvt->base.nclasses]);
|
pvt->base.nclasses]);
|
||||||
|
pvt->base.nclasses++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user