windows-free-lib-20050418
authorJeffrey Altman <jaltman@secure-endpoints.com>
Tue, 19 Apr 2005 06:02:48 +0000 (06:02 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Tue, 19 Apr 2005 06:02:48 +0000 (06:02 +0000)
call FreeLibrary not CloseHandle

src/WINNT/afsreg/syscfg.c

index 6f8788f..eafcd7f 100644 (file)
@@ -171,7 +171,7 @@ int syscfg_GetIFInfo(int *count, int *addrs, int *masks, int *mtus, int *flags)
     }
 
   done:
-    CloseHandle(hIpHlp);
+    FreeLibrary(hIpHlp);
     return nConfig;
 }