summaryrefslogtreecommitdiff
path: root/psgeom.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2014-05-27 20:30:20 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2014-05-27 20:30:20 -0700
commitcefec39d93846c2d034be9a89f48466831eddde6 (patch)
tree8acb764330433c0f539290d804ff2c9044c11c57 /psgeom.c
parentab92831be0e862622105f015fe8c390715d2aae9 (diff)
Replace custom uAlloc/uCalloc with plain malloc/calloc
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'psgeom.c')
-rw-r--r--psgeom.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/psgeom.c b/psgeom.c
index 0365cee..1265a5c 100644
--- a/psgeom.c
+++ b/psgeom.c
@@ -869,7 +869,7 @@ PSPageTrailer(FILE *out, PSState *state)
if (sName == NULL)
sName = "(unknown)";
- lbuf = uAlloc(10 + strlen(sName));
+ lbuf = malloc(10 + strlen(sName));
if (!lbuf) {
uFatalError("Can't allocate memory for string\n");
}
@@ -904,7 +904,7 @@ PSPageTrailer(FILE *out, PSState *state)
if (sName == NULL)
sName = "(unknown)";
- lbuf = uAlloc(12 + strlen(sName));
+ lbuf = malloc(12 + strlen(sName));
if (!lbuf) {
uFatalError("Can't allocate memory for string\n");
}