summaryrefslogtreecommitdiff
path: root/src/conn/conn_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/conn/conn_api.c')
-rw-r--r--src/conn/conn_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conn/conn_api.c b/src/conn/conn_api.c
index c5ef15ea130..ee175fff2c6 100644
--- a/src/conn/conn_api.c
+++ b/src/conn/conn_api.c
@@ -959,7 +959,7 @@ err: if (cbuf != NULL)
__wt_buf_free(session, &exconfig);
if (ret != 0 && conn != NULL)
- __wt_connection_destroy(conn);
+ WT_TRET(__wt_connection_destroy(conn));
return (ret);
}