aboutsummaryrefslogtreecommitdiffstats
path: root/router/router.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-06-28 22:39:11 -0700
committerChris Robinson <[email protected]>2017-06-28 22:39:11 -0700
commitef7eced7a700ba12badf412e21e682b1b1c60683 (patch)
tree21204e709e8ffdf6e015e2565fcb0ecaab2d79c4 /router/router.c
parenta729007887d771ee927da1ef1bc832502e17b2a1 (diff)
Properly clean up allocated memory at exit
Diffstat (limited to 'router/router.c')
-rw-r--r--router/router.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/router/router.c b/router/router.c
index 3adf64e2..a8a5ebbf 100644
--- a/router/router.c
+++ b/router/router.c
@@ -33,8 +33,7 @@ BOOL APIENTRY DllMain(HINSTANCE module, DWORD reason, void *reserved)
break;
case DLL_PROCESS_DETACH:
- ResetPtrIntMap(&ContextIfaceMap);
- ResetPtrIntMap(&DeviceIfaceMap);
+ ReleaseALC();
for(i = 0;i < DriverListSize;i++)
{
if(DriverList[i].Module)