aboutsummaryrefslogtreecommitdiff
path: root/libssh/init.c
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2010-09-01 16:05:06 +0200
committerAris Adamantiadis <aris@0xbadc0de.be>2010-09-01 16:05:06 +0200
commite67d834156a381fe7ef7933d135130083b86d1e3 (patch)
treee8f3485bc07f19cc2f2bef6ad0ef11af0606984d /libssh/init.c
parenta93f2d8bfe98e2927fc7024973c52062ccd28b30 (diff)
downloadlibssh-e67d834156a381fe7ef7933d135130083b86d1e3.tar.gz
libssh-e67d834156a381fe7ef7933d135130083b86d1e3.tar.xz
libssh-e67d834156a381fe7ef7933d135130083b86d1e3.zip
Fix initialization of threading
Diffstat (limited to 'libssh/init.c')
-rw-r--r--libssh/init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libssh/init.c b/libssh/init.c
index d8e77228..5952e272 100644
--- a/libssh/init.c
+++ b/libssh/init.c
@@ -73,6 +73,7 @@ int ssh_init(void) {
@returns 0 otherwise
*/
int ssh_finalize(void) {
+ ssh_threads_finalize();
ssh_free_global_poll_ctx();
ssh_regex_finalize();
ssh_crypto_finalize();