summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@mongodb.com>2016-11-14 15:51:42 +1100
committerGitHub <noreply@github.com>2016-11-14 15:51:42 +1100
commit6497ce8d1c78ff706f4454e16c93f0dbf3e04ef7 (patch)
tree31f4e645fec37a53353f9dcb7dad7e08e2b436f5
parent25f02285b804413361835d89caa4c195b93dcfdc (diff)
downloadmongo-6497ce8d1c78ff706f4454e16c93f0dbf3e04ef7.tar.gz
WT-2962 Fix a memory leak introduced by this change. (#3145)
-rw-r--r--src/conn/conn_api.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/conn/conn_api.c b/src/conn/conn_api.c
index dcb5fc74921..1bc4a501ce2 100644
--- a/src/conn/conn_api.c
+++ b/src/conn/conn_api.c
@@ -926,6 +926,7 @@ __conn_load_extension_int(WT_SESSION_IMPL *session,
err: if (dlh != NULL)
WT_TRET(__wt_dlclose(session, dlh));
+ __wt_free(session, ext_config);
__wt_free(session, init_name);
__wt_free(session, terminate_name);
return (ret);