diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-07-03 18:19:05 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-07-03 18:19:05 +0200 |
commit | c545ae2d90170de11806393acda197a0ca43f488 (patch) | |
tree | b3d11734e7cc7cb2c7f111a126ad52906e88d7d7 /include/quickmedia | |
parent | 8f41cc827b3c4096da4cd770175f43a085231bbf (diff) |
Fix string_append incorrect allocation size
Diffstat (limited to 'include/quickmedia')
-rw-r--r-- | include/quickmedia/HtmlSearch.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/quickmedia/HtmlSearch.h b/include/quickmedia/HtmlSearch.h index 1a7faca..af9bd7e 100644 --- a/include/quickmedia/HtmlSearch.h +++ b/include/quickmedia/HtmlSearch.h @@ -67,7 +67,7 @@ QuickMediaStringView quickmedia_html_node_get_text(QuickMediaMatchNode *self); /* @node is only valid within the callback function scope. Return 0 to continue */ typedef int (*QuickMediaHtmlSearchResultCallback)(QuickMediaMatchNode *node, void *userdata); -/* |html_source| should be in utf8 format and may contain utf8 BOM */ +/* |html_source| should be in utf8 format and may contain utf8 BOM. |html_source| has to be valid until |quickmedia_html_search_deinit| is called. */ int quickmedia_html_search_init(QuickMediaHtmlSearch *self, const char *html_source, size_t size); void quickmedia_html_search_deinit(QuickMediaHtmlSearch *self); |