An updated libXcursor package that fixes a bug is now available for Red Hat Enterprise Linux 5.
The X.Org's X11 libXcursor runtime library for cursor management.
Prior to this update, libXcursor allocated memory to store the comment and fileheader associated with the cursor data but due to an inversion in the logic, which would not free the memory if the associated pointer was not NULL, this allocated memory was never freed. Consequently this caused a memory leak each time a cursor was created or loaded with libXcursor. This update fixes the internal logic, the data is freed as required when the pointer is set, and the memory leaks no longer occur in the scenario described.
All users of libXcursor are advised to upgrade to this updated package, which fixes this bug.