summaryrefslogtreecommitdiff
path: root/src/apm_dga.c
diff options
context:
space:
mode:
authorJulien Cristau <jcristau@debian.org>2012-05-01 15:10:39 +0200
committerJulien Cristau <jcristau@debian.org>2012-05-01 15:40:03 +0200
commit784c3a1fa53771662b4656e193fb392cbb8c8452 (patch)
treea381a93a77387e87fa284063350a371c8a2e796a /src/apm_dga.c
parent21f5f7acf9235428ef2bcd5e34d0a44f9e4d838b (diff)
Replace x{{,re,c}alloc,free} with malloc/realloc/calloc/free
Diffstat (limited to 'src/apm_dga.c')
-rw-r--r--src/apm_dga.c2
1 files changed, 1 insertions, 1 deletions
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;