plotit.c, properly free a reversed wordlist

This commit is contained in:
h_vogt 2016-03-28 14:35:01 +02:00 committed by rlar
parent 5299f8cdb6
commit 841f2846fe
1 changed files with 2 additions and 1 deletions

View File

@ -272,7 +272,8 @@ plotit(wordlist *wl, char *hcopy, char *devname)
tfree(ntitle);
}
cline = wl_flatten(wl_reverse(tail));
tail = wl_reverse(tail);
cline = wl_flatten(tail);
wl_free(tail);
/* Now extract all the parameters. */