summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--term_ps.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/term_ps.c b/term_ps.c
index 924467b3..f297d35a 100644
--- a/term_ps.c
+++ b/term_ps.c
@@ -644,10 +644,8 @@ pspdf_free(void *arg)
p = (struct termp *)arg;
- if (p->ps->psmarg)
- free(p->ps->psmarg);
- if (p->ps->pdfobjs)
- free(p->ps->pdfobjs);
+ free(p->ps->psmarg);
+ free(p->ps->pdfobjs);
free(p->ps);
term_free(p);