[Git][wine/wine][master] server: Fix use-after-free of handle entry.