summaryrefslogtreecommitdiff
path: root/src/riva_cursor.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/riva_cursor.c
parent17ab5dbea69e690cbf78c25040db518471e0887f (diff)
Don't use libcwrappers for calloc and free
Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com>
Diffstat (limited to 'src/riva_cursor.c')
-rw-r--r--src/riva_cursor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/riva_cursor.c b/src/riva_cursor.c
index 35d6a58..a9c614e 100644
--- a/src/riva_cursor.c
+++ b/src/riva_cursor.c
@@ -72,13 +72,13 @@ RivaTransformCursor (RivaPtr pRiva)
int i, dwords;
dwords = (32 * 32) >> 1;
- if(!(tmp = Xcalloc(dwords * 4))) return;
+ if(!(tmp = calloc(1, dwords * 4))) return;
RivaConvertCursor1555(pRiva, pRiva->curImage, (CARD16*)tmp);
for(i = 0; i < dwords; i++)
pRiva->riva.CURSOR[i] = tmp[i];
- xfree(tmp);
+ free(tmp);
}
static void