diff options
author | default <nobody@localhost> | 2023-07-24 12:52:09 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2023-07-24 12:52:09 +0200 |
commit | f23d2c05aba83b5e9e5b3ccda616027513787dc6 (patch) | |
tree | ab8a8d771f864870094f59ce4f89566c7e416f96 /format.c | |
parent | ad4fccd60d30f175650e7ab6ca711e9595787b82 (diff) |
Fixed minor memory leak.
Diffstat (limited to 'format.c')
-rw-r--r-- | format.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -137,7 +137,7 @@ xs_str *not_really_markdown(const char *content, xs_list **attach) if (in_pre) { // Encode all HTML characters when we're in pre element until we are out. - ss = encode_html(xs_dup(v)); + ss = encode_html(v); s = xs_str_cat(s, ss); s = xs_str_cat(s, "<br>"); |