diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2014-05-27 20:30:20 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2014-05-27 20:30:20 -0700 |
commit | cefec39d93846c2d034be9a89f48466831eddde6 (patch) | |
tree | 8acb764330433c0f539290d804ff2c9044c11c57 /psgeom.c | |
parent | ab92831be0e862622105f015fe8c390715d2aae9 (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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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"); } |