Skip to content

Commit

Permalink
AudioDxe: Fix use after free
Browse files Browse the repository at this point in the history
  • Loading branch information
Goldfish64 committed Jun 13, 2020
1 parent a55d147 commit 2fe4794
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Staging/AudioDxe/HdaController/HdaControllerMem.c
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ HdaControllerCleanupRingBuffer (
HdaRingBuffer->Mapping = NULL;
HdaRingBuffer->PhysAddr = 0;
HdaRingBuffer->Pointer = 0;
HdaRingBuffer->HdaDev = NULL;
}

BOOLEAN
Expand Down

0 comments on commit 2fe4794

Please sign in to comment.