[coverity] 1543248 Resource leak

This commit is contained in:
akallabeth 2024-04-11 12:38:01 +02:00 committed by Martin Fleisz
parent 80f85cdd55
commit d3eb93f2ec

View File

@ -2259,7 +2259,7 @@ rdpRdp* rdp_new(rdpContext* context)
/* Keep a backup copy of settings for later comparisons */
if (!rdp_set_backup_settings(rdp))
return FALSE;
goto fail;
rdp->settings->instance = context->instance;