mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-12-26 01:03:37 +00:00
Fixed minor memory leak.
This commit is contained in:
parent
ad4fccd60d
commit
f23d2c05ab
1 changed files with 1 additions and 1 deletions
2
format.c
2
format.c
|
@ -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>");
|
||||
|
|
Loading…
Reference in a new issue