diff options
| author | Julia D'Zmura <[email protected]> | 2023-03-09 10:19:19 -0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-03-09 10:19:19 -0800 |
| commit | 7d7f9388ae3077ca010a719dbcd3da0534272046 (patch) | |
| tree | a20eb16305be03885ee121528e4ae8248addd241 /audio/simpleaudiosample/Source/Main/adapter.cpp | |
| parent | be97ab4846375ead2c997517ade7127fd123eeea (diff) | |
Updates to Sysvad and SimpleAudioSample. (#917)
* Updates to Sysvad and simpleAudioSample.
* Changing dash to ASCII.
Diffstat (limited to 'audio/simpleaudiosample/Source/Main/adapter.cpp')
| -rw-r--r-- | audio/simpleaudiosample/Source/Main/adapter.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/audio/simpleaudiosample/Source/Main/adapter.cpp b/audio/simpleaudiosample/Source/Main/adapter.cpp index bbe23f26..a66ee5a2 100644 --- a/audio/simpleaudiosample/Source/Main/adapter.cpp +++ b/audio/simpleaudiosample/Source/Main/adapter.cpp @@ -59,6 +59,8 @@ UNICODE_STRING g_RegistryPath; // This is used to store the registry settin #pragma code_seg("PAGE") void ReleaseRegistryStringBuffer() { + PAGED_CODE(); + if (g_RegistryPath.Buffer != NULL) { ExFreePool(g_RegistryPath.Buffer); |
