summaryrefslogtreecommitdiff
path: root/src/apm_dga.c
diff options
context:
space:
mode:
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;