client session BUGFIX typo
diff --git a/src/session_client.c b/src/session_client.c
index 5d1f8e7..f5a9593 100644
--- a/src/session_client.c
+++ b/src/session_client.c
@@ -947,7 +947,7 @@
 #ifdef NC_ENABLED_SSH
     nc_client_ssh_destroy_opts();
 #endif
-#ifdef NC_ENABLED_SSH
+#ifdef NC_ENABLED_TLS
     nc_client_tls_destroy_opts();
 #endif
 }