code clean on free(update->window->monitored_desktop.windowIds);

This commit is contained in:
weizhenwei 2017-06-13 14:32:36 +08:00
parent 63c81517b7
commit 6a43fdc71a

View File

@ -2139,11 +2139,7 @@ void update_free(rdpUpdate* update)
free(update->primary);
free(update->secondary);
free(update->altsec);
if (update->window->monitored_desktop.windowIds)
{
free(update->window->monitored_desktop.windowIds);
update->window->monitored_desktop.windowIds = NULL;
}
free(update->window->monitored_desktop.windowIds);
free(update->window);
MessageQueue_Free(update->queue);
free(update);