=================================================================== RCS file: /cvs/mandoc/term_ps.c,v retrieving revision 1.79 retrieving revision 1.80 diff -u -p -r1.79 -r1.80 --- mandoc/term_ps.c 2015/11/07 14:22:29 1.79 +++ mandoc/term_ps.c 2015/12/23 20:50:13 1.80 @@ -1,4 +1,4 @@ -/* $Id: term_ps.c,v 1.79 2015/11/07 14:22:29 schwarze Exp $ */ +/* $Id: term_ps.c,v 1.80 2015/12/23 20:50:13 schwarze Exp $ */ /* * Copyright (c) 2010, 2011 Kristaps Dzonsons * Copyright (c) 2014, 2015 Ingo Schwarze @@ -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);