diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-12-06 10:59:02 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-12-06 10:59:02 -0500 |
commit | b326e761442e61ffd39effbefd7f904c72890707 (patch) | |
tree | 9e730c899eb7f1e640183dcf49043032959865ae /src/test/test_util.c | |
parent | bd93ff8dd76b06ca3afe1f362b086d4f12639f71 (diff) | |
download | tor-b326e761442e61ffd39effbefd7f904c72890707.tar.gz tor-b326e761442e61ffd39effbefd7f904c72890707.zip |
Use FreeLibrary, not CloseHandle, for library in test_util.c
Fix for bug 7306. Bugfix on 0.2.2.17-alpha.
Diffstat (limited to 'src/test/test_util.c')
-rw-r--r-- | src/test/test_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_util.c b/src/test/test_util.c index 04ca42dcd9..4bbcedd169 100644 --- a/src/test/test_util.c +++ b/src/test/test_util.c @@ -2290,7 +2290,7 @@ test_util_load_win_lib(void *ptr) tt_assert(h); done: if (h) - CloseHandle(h); + FreeLibrary(h); } #endif |