[Git][wine/wine][master] server: Fix a memory leak in d3dkmt_share_objects.