dmx: Xfree -> free
Mikhail fixed the corresponding Xallocs, but missed these uses of Xfree
in commit 3f3ff971ec
.
Signed-off-by: Jamey Sharp <jamey@minilop.net>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
01ca6400d9
commit
3c3d099fc1
|
@ -3404,7 +3404,7 @@ int __glXGetDrawableAttributes(__GLXclientState *cl, GLbyte *pc)
|
|||
WriteToClient(client, attribs_size, (char *)attribs);
|
||||
}
|
||||
|
||||
Xfree(attribs);
|
||||
free(attribs);
|
||||
|
||||
return Success;
|
||||
}
|
||||
|
|
|
@ -204,9 +204,9 @@ static void CalcServerVersionAndExtensions( void )
|
|||
* release temporary storage
|
||||
*/
|
||||
for (s=0; s<__glXNumActiveScreens; s++) {
|
||||
if (be_extensions[s]) Xfree(be_extensions[s]);
|
||||
free(be_extensions[s]);
|
||||
}
|
||||
Xfree( be_extensions );
|
||||
free( be_extensions );
|
||||
|
||||
if (dmxGLXSwapGroupSupport) {
|
||||
if (!denied_extensions ||
|
||||
|
|
|
@ -288,7 +288,7 @@ int __glXForwardPipe0WithReply( __GLXclientState *cl, GLbyte *pc )
|
|||
WriteToClient(client, be_buf_size, (char *)be_buf);
|
||||
}
|
||||
|
||||
if (be_buf_size > 0) Xfree(be_buf);
|
||||
if (be_buf_size > 0) free(be_buf);
|
||||
|
||||
return Success;
|
||||
}
|
||||
|
@ -364,7 +364,7 @@ int __glXForwardAllWithReply( __GLXclientState *cl, GLbyte *pc )
|
|||
SyncHandle();
|
||||
|
||||
if (s > from_screen && be_buf_size > 0) {
|
||||
Xfree(be_buf);
|
||||
free(be_buf);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -388,7 +388,7 @@ int __glXForwardAllWithReply( __GLXclientState *cl, GLbyte *pc )
|
|||
WriteToClient(client, be_buf_size, (char *)be_buf);
|
||||
}
|
||||
|
||||
if (be_buf_size > 0) Xfree(be_buf);
|
||||
if (be_buf_size > 0) free(be_buf);
|
||||
|
||||
return Success;
|
||||
}
|
||||
|
@ -939,12 +939,12 @@ int __glXDisp_ReadPixels(__GLXclientState *cl, GLbyte *pc)
|
|||
|
||||
}
|
||||
|
||||
Xfree( be_buf );
|
||||
free( be_buf );
|
||||
}
|
||||
else {
|
||||
/* Throw data on the floor */
|
||||
_XEatData(dpy, be_buf_size);
|
||||
Xfree( buf );
|
||||
free( buf );
|
||||
return BadAlloc;
|
||||
}
|
||||
}
|
||||
|
@ -970,7 +970,7 @@ int __glXDisp_ReadPixels(__GLXclientState *cl, GLbyte *pc)
|
|||
WriteToClient(client, sizeof(xGLXReadPixelsReply),(char *)&reply);
|
||||
if (buf_size > 0) {
|
||||
WriteToClient(client, buf_size, (char *)buf);
|
||||
Xfree( buf );
|
||||
free( buf );
|
||||
}
|
||||
|
||||
return Success;
|
||||
|
|
|
@ -272,7 +272,7 @@ int __glXVForwardPipe0WithReply( __GLXclientState *cl, GLbyte *pc )
|
|||
WriteToClient(client, be_buf_size, (char *)be_buf);
|
||||
}
|
||||
|
||||
if (be_buf_size > 0) Xfree(be_buf);
|
||||
if (be_buf_size > 0) free(be_buf);
|
||||
|
||||
return Success;
|
||||
}
|
||||
|
@ -349,7 +349,7 @@ int __glXVForwardAllWithReply( __GLXclientState *cl, GLbyte *pc )
|
|||
SyncHandle();
|
||||
|
||||
if (s > from_screen && be_buf_size > 0) {
|
||||
Xfree(be_buf);
|
||||
free(be_buf);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -369,7 +369,7 @@ int __glXVForwardAllWithReply( __GLXclientState *cl, GLbyte *pc )
|
|||
WriteToClient(client, be_buf_size, (char *)be_buf);
|
||||
}
|
||||
|
||||
if (be_buf_size > 0) Xfree(be_buf);
|
||||
if (be_buf_size > 0) free(be_buf);
|
||||
|
||||
return Success;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue