diff options
author | Tiago Vignatti <tiago.vignatti@nokia.com> | 2010-05-25 13:32:18 +0300 |
---|---|---|
committer | Tiago Vignatti <tiago.vignatti@nokia.com> | 2010-05-25 13:32:18 +0300 |
commit | 4fff9d3f0a27de68bd3190a98558a3de1b7a85d2 (patch) | |
tree | 7664988075ae00315e250b3f7b72eeab1dd3a398 /src/nv_cursor.c | |
parent | 17ab5dbea69e690cbf78c25040db518471e0887f (diff) |
Don't use libcwrappers for calloc and free
Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com>
Diffstat (limited to 'src/nv_cursor.c')
-rw-r--r-- | src/nv_cursor.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nv_cursor.c b/src/nv_cursor.c index bf5adc0..823bb43 100644 --- a/src/nv_cursor.c +++ b/src/nv_cursor.c @@ -119,18 +119,18 @@ TransformCursor (NVPtr pNv) /* convert to color cursor */ if(pNv->alphaCursor) { dwords = 64 * 64; - if(!(tmp = Xcalloc(dwords * 4))) return; + if(!(tmp = calloc(1, dwords * 4))) return; ConvertCursor8888(pNv, pNv->curImage, tmp); } else { dwords = (32 * 32) >> 1; - if(!(tmp = Xcalloc(dwords * 4))) return; + if(!(tmp = calloc(1, dwords * 4))) return; ConvertCursor1555(pNv, pNv->curImage, (CARD16*)tmp); } for(i = 0; i < dwords; i++) pNv->CURSOR[i] = tmp[i]; - xfree(tmp); + free(tmp); } static void |