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