diff options
author | cinap_lenrek <cinap_lenrek@gmx.de> | 2013-09-05 00:55:58 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@gmx.de> | 2013-09-05 00:55:58 +0200 |
commit | 95fac5e87304a50f7e93de94f0f682ec06565006 (patch) | |
tree | 9ee3d2f9a7d9c58f08def76087e91bf6ac47fe0f /sys/include/html.h | |
parent | cca9a1b52381fe2c839350226eceeb1cc987c27f (diff) |
libhtml: fix potential linked list corruption
the difficulty is freeing items while parsing because items might already
be linked into various linked lists like in docinfo.images or form.fiels.
so we link images, tables and formfields to the docinfo as the final step
of getitems() pass using the new recursive function linkitems(). as only
reachable items get linked theres no danger of dangeling pointers.
Diffstat (limited to 'sys/include/html.h')
-rw-r--r-- | sys/include/html.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/include/html.h b/sys/include/html.h index 3e3f9ed19..57d227bf6 100644 --- a/sys/include/html.h +++ b/sys/include/html.h @@ -253,7 +253,6 @@ struct Ifloat int y; /* y coord of top */ uchar side; /* margin it floats to: ALleft or ALright */ uchar infloats; /* true if this has been added to a lay.floats */ - Ifloat* nextfloat; /* in list of floats */ }; |