[core,update] fix leak on error termination

This commit is contained in:
akallabeth 2024-04-21 13:25:45 +02:00 committed by akallabeth
parent 7f9c5d84ad
commit db09d1d7f8

View File

@ -3299,6 +3299,9 @@ void update_free(rdpUpdate* update)
MessageQueue_Free(up->queue);
DeleteCriticalSection(&up->mux);
if (up->us)
Stream_Free(up->us, TRUE);
free(update);
}
}