summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@wiredtiger.com>2014-05-09 14:40:09 +1000
committerMichael Cahill <michael.cahill@wiredtiger.com>2014-05-09 14:40:09 +1000
commitd423730cacb7eb81d6c73dd779d3ec9a997e91c5 (patch)
tree461f0020c665da8698f5e64008bb50fc5cdbb4a3
parentcd98e8877b6e9b3b1e5d6474b45ef4bbc1a6d24a (diff)
downloadmongo-d423730cacb7eb81d6c73dd779d3ec9a997e91c5.tar.gz
typo
-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 de705bdf464..25d32f7fa9d 100644
--- a/src/conn/conn_api.c
+++ b/src/conn/conn_api.c
@@ -1324,7 +1324,7 @@ wiredtiger_open(const char *home, WT_EVENT_HANDLER *event_handler,
*/
err: if (cbbuf != NULL)
__wt_buf_free(session, cbbuf);
- if (cbbuf != NULL)
+ if (cubuf != NULL)
__wt_buf_free(session, cubuf);
if (ret != 0 && conn != NULL)