diff options
author | Nick Wellnhofer <wellnhofer@aevum.de> | 2016-07-03 12:18:43 +0200 |
---|---|---|
committer | Nick Wellnhofer <wellnhofer@aevum.de> | 2016-07-03 12:18:43 +0200 |
commit | 67f760a78f7a875216d9b64aaf3524cc4f9a0f48 (patch) | |
tree | 1a687a13d0d38317f9021054c6194038bd1e9a63 /test | |
parent | 3d6155fe9a49e4a07379b816f9c7c2f00ae33dc4 (diff) |
Fix chunk_set_cstr with suffix of current string
It's possible that cmark_chunk_set_cstr is called with a substring
(suffix) of the current string. Delay freeing of the chunk content
to handle this case correctly.
Fixes issue #139.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions