* mdocml: remove NULL-checks before free(); from mmcc@
@ 2015-12-23 20:50 schwarze
0 siblings, 0 replies; only message in thread
From: schwarze @ 2015-12-23 20:50 UTC (permalink / raw)
To: source
Log Message:
-----------
remove NULL-checks before free(); from mmcc@
Modified Files:
--------------
mdocml:
term_ps.c
Revision Data
-------------
Index: term_ps.c
===================================================================
RCS file: /home/cvs/mdocml/mdocml/term_ps.c,v
retrieving revision 1.79
retrieving revision 1.80
diff -Lterm_ps.c -Lterm_ps.c -u -p -r1.79 -r1.80
--- term_ps.c
+++ 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);
--
To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-12-23 20:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-23 20:50 mdocml: remove NULL-checks before free(); from mmcc@ schwarze
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).