size = reply.length * 4;
if (size != 0) {
- void * buf = Xmalloc( size );
+ void * buf = malloc( size );
if ( buf == NULL ) {
_XEatData(dpy, size);
__glEmptyImage(gc, 3, width, height, depth, format, type,
buf, dest);
- Xfree(buf);
+ free(buf);
}
}
}
int o;
entries = _glapi_get_dispatch_table_size();
- table = (_glapi_proc *) Xmalloc(entries * sizeof(_glapi_proc));
+ table = (_glapi_proc *) malloc(entries * sizeof(_glapi_proc));
/* first, set all entries to point to no-op functions */
for (i = 0; i < entries; i++) {