From 784c3a1fa53771662b4656e193fb392cbb8c8452 Mon Sep 17 00:00:00 2001 From: Julien Cristau Date: Tue, 1 May 2012 15:10:39 +0200 Subject: Replace x{{,re,c}alloc,free} with malloc/realloc/calloc/free --- src/apm_dga.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/apm_dga.c') diff --git a/src/apm_dga.c b/src/apm_dga.c index 30079e2..855c08e 100644 --- a/src/apm_dga.c +++ b/src/apm_dga.c @@ -103,7 +103,7 @@ SECOND_PASS: if(secondPitch) pitch = secondPitch; - if(!(newmodes = xrealloc(modes, (*num + 1) * sizeof(DGAModeRec)))) + if(!(newmodes = realloc(modes, (*num + 1) * sizeof(DGAModeRec)))) break; modes = newmodes; -- cgit v1.2.3