server: Fix reference leak in enum_desktop.

This commit is contained in:
Maarten Lankhorst 2008-03-06 14:57:28 -08:00 committed by Alexandre Julliard
parent 32d7a9e668
commit 8b164ce484
1 changed files with 1 additions and 0 deletions

View File

@ -669,6 +669,7 @@ DECL_HANDLER(enum_desktop)
{
set_reply_data_obj_name( &desktop->obj );
release_object( desktop );
release_object( winstation );
clear_error();
reply->next = index;
return;