diff options
author | lexborisov <lex.borisov@gmail.com> | 2016-11-21 14:07:37 +0300 |
---|---|---|
committer | lexborisov <lex.borisov@gmail.com> | 2016-11-21 14:07:37 +0300 |
commit | 58dcf7ec029a25cb667311dc1912093ddba3dfaf (patch) | |
tree | 79781e46bae067a1cc937579b2a08036274fa717 /source/myhtml | |
parent | a7345ef5e0f79073b7a9f489cdc362d90a664e54 (diff) |
Call destroy function for selectors list https://github.com/lexborisov/Modest/issues/3
Diffstat (limited to 'source/myhtml')
-rw-r--r-- | source/myhtml/mystring.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/myhtml/mystring.c b/source/myhtml/mystring.c index 994cc7f..a353e60 100644 --- a/source/myhtml/mystring.c +++ b/source/myhtml/mystring.c @@ -52,7 +52,7 @@ myhtml_string_t * myhtml_string_destroy(myhtml_string_t* str, bool destroy_obj) if(str == NULL) return NULL; - if(str->data && str->mchar && str->node_idx) + if(str->data && str->mchar) mchar_async_free(str->mchar, str->node_idx, str->data); if(destroy_obj && str) { |