diff options
author | Matt Turner <[email protected]> | 2012-09-03 14:19:43 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2012-09-05 22:28:49 -0700 |
commit | 812931f602ff913a51a608a9b1b6826b7f2bfae0 (patch) | |
tree | dbea09fa0580741c241286cb0c02005c9abfbf94 | |
parent | 7c7b7b068b1d0dc8e14b87dab5dbd4108f874f74 (diff) |
glX_proto_send.py: Remove deprecated Xmalloc/Xfree calls
Reviewed-by: Brian Paul <[email protected]>
-rw-r--r-- | src/mapi/glapi/gen/glX_proto_send.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mapi/glapi/gen/glX_proto_send.py b/src/mapi/glapi/gen/glX_proto_send.py index c53359240cf..24dc5004c01 100644 --- a/src/mapi/glapi/gen/glX_proto_send.py +++ b/src/mapi/glapi/gen/glX_proto_send.py @@ -239,7 +239,7 @@ __glXReadPixelReply( Display *dpy, struct glx_context * gc, unsigned max_dim, size = reply.length * 4; if (size != 0) { - void * buf = Xmalloc( size ); + void * buf = malloc( size ); if ( buf == NULL ) { _XEatData(dpy, size); @@ -255,7 +255,7 @@ __glXReadPixelReply( Display *dpy, struct glx_context * gc, unsigned max_dim, __glEmptyImage(gc, 3, width, height, depth, format, type, buf, dest); - Xfree(buf); + free(buf); } } } @@ -970,7 +970,7 @@ struct _glapi_table * __glXNewIndirectAPI( void ) 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++) { |