fix infinite loop when copying private data

svn path=/trunk/netsurf/; revision=13071
This commit is contained in:
Vincent Sanders 2011-10-19 15:28:47 +00:00
parent 67c9262403
commit c970cc6dd4

View File

@ -365,6 +365,7 @@ hubbub_private *copy_private(const hubbub_private *p, uint32_t refcnt)
pvt->base.classes[pvt->base.nclasses] =
lwc_string_ref(p->base.classes[
pvt->base.nclasses]);
pvt->base.nclasses++;
}
}