patches addressing error handling

Iskren Chernev iskren.chernev at gmail.com
Fri Mar 11 06:54:50 PST 2011


Some resources were not freed if the create function exited earlier.

I'm not sure how important these patches are. If they are I can make
another pass on the code to fix similar errors. Also adding warn
unused result to the creation functions that may fail will help
spotting all places.

Regards,
Iskren
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Better-cleanup-on-display-creation-failure.patch
Type: text/x-patch
Size: 968 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20110311/aae2d732/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Better-handling-of-creation-errors-in-display.patch
Type: text/x-patch
Size: 1608 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20110311/aae2d732/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Added-wl_connection_create-failure-checks.patch
Type: text/x-patch
Size: 1789 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20110311/aae2d732/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-Server-socket-creation-error-handling.patch
Type: text/x-patch
Size: 1658 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20110311/aae2d732/attachment-0003.bin>


More information about the wayland-devel mailing list