diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-12-23 20:50:13 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-12-23 20:50:13 +0000 |
commit | f334717d59323c864a9ad2922067d24f8254e593 (patch) | |
tree | bfa62bfd3d4b6d384a295420dac6760dc630c9bd /term_ps.c | |
parent | f0d907b5ddcf8c6632e2f8c3301b9ef19abc0a02 (diff) | |
download | mandoc-f334717d59323c864a9ad2922067d24f8254e593.tar.gz |
remove NULL-checks before free(); from mmcc@
Diffstat (limited to 'term_ps.c')
-rw-r--r-- | term_ps.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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); |