Skip to content

Commit c68c50d

Browse files
authored
Merge pull request FreeRDP#5851 from akallabeth/multi_disconnect_crash_fix
Fixed missing NULL set of pointer after free
2 parents 6d3f658 + 9d65d95 commit c68c50d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libfreerdp/core/connection.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,7 @@ BOOL rdp_client_disconnect(rdpRdp* rdp)
394394
return FALSE;
395395

396396
codecs_free(context->codecs);
397+
context->codecs = NULL;
397398
return TRUE;
398399
}
399400

0 commit comments

Comments
 (0)