aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolden Rohrer <hr@hrhr.dev>2020-05-24 19:01:28 -0400
committerHolden Rohrer <hr@hrhr.dev>2020-05-24 19:01:28 -0400
commit2d6657e919087d44f779928636e9b97ab900bdd7 (patch)
treebd5760b72ea782d390fa1184753260d750e6d170
parentf5e156742cc38c698b2fcec550f186fc252bc0cf (diff)
removed twobytes memory leak
-rw-r--r--badroff.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/badroff.c b/badroff.c
index ab6fb69..7134261 100644
--- a/badroff.c
+++ b/badroff.c
@@ -343,6 +343,7 @@ char* line(void){
} else {
out = norm();
}
+ free(twobytes);
nbspsub(out);
return out;
}