=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mandoc/term_ps.c,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- src/usr.bin/mandoc/term_ps.c 2011/03/07 01:58:19 1.15 +++ src/usr.bin/mandoc/term_ps.c 2011/04/21 22:59:54 1.16 @@ -1,4 +1,4 @@ -/* $Id: term_ps.c,v 1.15 2011/03/07 01:58:19 schwarze Exp $ */ +/* $Id: term_ps.c,v 1.16 2011/04/21 22:59:54 schwarze Exp $ */ /* * Copyright (c) 2010 Kristaps Dzonsons * @@ -366,14 +366,9 @@ p->engine.ps.psmargsz += sz; - p->engine.ps.psmarg = realloc + p->engine.ps.psmarg = mandoc_realloc (p->engine.ps.psmarg, p->engine.ps.psmargsz); - - if (NULL == p->engine.ps.psmarg) { - perror(NULL); - exit((int)MANDOCLEVEL_SYSERR); - } } static double ps_hspan(const struct termp *,