diff options
author | jcid <devnull@localhost> | 2008-05-02 17:45:47 +0200 |
---|---|---|
committer | jcid <devnull@localhost> | 2008-05-02 17:45:47 +0200 |
commit | d2c3d48f310b32be2269b26ebce2146506216e8d (patch) | |
tree | 97218cbab4f37bcb5ad973ef14dc3f8f92f6d5bc /src/html.cc | |
parent | c5287176fbe834328ddf8cc65b7d84957f696c0b (diff) |
- Fixed a memory leak in textarea handling.
Diffstat (limited to 'src/html.cc')
-rw-r--r-- | src/html.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/html.cc b/src/html.cc index bc1ad4ab..8ae59c86 100644 --- a/src/html.cc +++ b/src/html.cc @@ -4758,7 +4758,7 @@ static void Html_tag_close_textarea(DilloHtml *html, int TagIdx) str = Html_parse_entities(html, html->Stash->str, html->Stash->len); form = html->forms->getRef (html->forms->size() - 1); form->inputs->getRef(form->inputs->size() - 1)->init_str = str; - widget = (Widget*)(form->inputs->get(form->inputs->size() - 1).widget); + widget = (Widget*)(form->inputs->getRef(form->inputs->size()-1)->widget); ((MultiLineTextResource *)((Embed *)widget)->getResource ()) ->setText(str); |