aboutsummaryrefslogtreecommitdiff
path: root/src/wrap.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2016-02-28 12:28:42 +0100
committerThomas White <taw@bitwiz.org.uk>2016-02-28 12:28:42 +0100
commitcfafd6eaced69313a0ffebc4f1dba9f6e99b2438 (patch)
tree2bdc949c7d99001c99fb43de5db950db52acdccb /src/wrap.c
parent9c72012798f35ca256d34fc044ba21abfe65af0a (diff)
Fix a double free
Diffstat (limited to 'src/wrap.c')
-rw-r--r--src/wrap.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/wrap.c b/src/wrap.c
index 3668d4b..018f9e3 100644
--- a/src/wrap.c
+++ b/src/wrap.c
@@ -812,7 +812,6 @@ static void first_fit(struct boxvec *boxes, double line_length,
void wrap_line_free(struct wrap_line *l)
{
bv_free(l->boxes);
- free(l->boxes);
}