summaryrefslogtreecommitdiff
path: root/src/nv_dga.c
diff options
context:
space:
mode:
authorTiago Vignatti <tiago.vignatti@nokia.com>2010-05-25 13:32:18 +0300
committerTiago Vignatti <tiago.vignatti@nokia.com>2010-05-25 13:32:18 +0300
commit4fff9d3f0a27de68bd3190a98558a3de1b7a85d2 (patch)
tree7664988075ae00315e250b3f7b72eeab1dd3a398 /src/nv_dga.c
parent17ab5dbea69e690cbf78c25040db518471e0887f (diff)
Don't use libcwrappers for calloc and free
Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com>
Diffstat (limited to 'src/nv_dga.c')
-rw-r--r--src/nv_dga.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nv_dga.c b/src/nv_dga.c
index ccbbf4d..7f8561b 100644
--- a/src/nv_dga.c
+++ b/src/nv_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;