From f334717d59323c864a9ad2922067d24f8254e593 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Wed, 23 Dec 2015 20:50:13 +0000 Subject: remove NULL-checks before free(); from mmcc@ --- term_ps.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'term_ps.c') 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); -- cgit