plotit.c, properly free a reversed wordlist
This commit is contained in:
parent
5299f8cdb6
commit
841f2846fe
|
|
@ -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. */
|
||||
|
|
|
|||
Loading…
Reference in New Issue