summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.c b/main.c
index 19c47a25..ef3eceab 100644
--- a/main.c
+++ b/main.c
@@ -591,9 +591,11 @@ fdesc(struct curparse *curp)
break;
case (OUTT_ASCII):
curp->outdata = ascii_alloc(curp->outopts);
+ curp->outfree = ascii_free;
break;
case (OUTT_PS):
curp->outdata = ps_alloc();
+ curp->outfree = ps_free;
break;
default:
break;
@@ -616,7 +618,6 @@ fdesc(struct curparse *curp)
case (OUTT_PS):
curp->outman = terminal_man;
curp->outmdoc = terminal_mdoc;
- curp->outfree = terminal_free;
break;
default:
break;