commit f23d2c0

default  ·  2023-07-24 10:52:09 +0000 UTC
parent ad4fccd
Fixed minor memory leak.
1 files changed,  +1, -1
+1, -1
1@@ -137,7 +137,7 @@ xs_str *not_really_markdown(const char *content, xs_list **attach)
2 
3         if (in_pre) {
4             // Encode all HTML characters when we're in pre element until we are out.
5-            ss = encode_html(xs_dup(v));
6+            ss = encode_html(v);
7 
8             s = xs_str_cat(s, ss);
9             s = xs_str_cat(s, "<br>");