summaryrefslogtreecommitdiff
path: root/src/riva_dga.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/riva_dga.c')
-rw-r--r--src/riva_dga.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/riva_dga.c b/src/riva_dga.c
index c6f2d92..7a984f1 100644
--- a/src/riva_dga.c
+++ b/src/riva_dga.c
@@ -69,7 +69,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;