diff options
| author | 5an7y-Microsoft <[email protected]> | 2025-09-25 15:10:55 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-09-25 15:10:55 -0700 |
| commit | df43d144d52bf5424f49484dc11ecc4152806218 (patch) | |
| tree | a8aa964ede6561d0966fc9b94d200ee929a7e1cf /serial | |
| parent | 9ca0b0d395a55740b261c834df79eb9344e5bc56 (diff) | |
Test commituser/5an7y/test_codeql_except
Diffstat (limited to 'serial')
| -rw-r--r-- | serial/serial/initunlo.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/serial/serial/initunlo.c b/serial/serial/initunlo.c index 1f890e38..6c7994fe 100644 --- a/serial/serial/initunlo.c +++ b/serial/serial/initunlo.c @@ -112,6 +112,7 @@ Return Value: // the framework driver object is deleted during driver unload. // WDF_OBJECT_ATTRIBUTES_INIT(&attributes); + attributes.EvtCleanupCallback = SerialEvtDriverContextCleanup; WDF_DRIVER_CONFIG_INIT(&config, SerialEvtDeviceAdd); |
