summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@wiredtiger.com>2012-10-17 17:33:00 +1100
committerMichael Cahill <michael.cahill@wiredtiger.com>2012-10-17 17:33:00 +1100
commit65f573fc68235bcf7f5bf0d21e4fd4cdb3c79fbc (patch)
tree96c38436760da2f559f2a7744c4e513f4d42c659
parente390725e68d5522b94882fd4dc1da7c1630fb984 (diff)
downloadmongo-65f573fc68235bcf7f5bf0d21e4fd4cdb3c79fbc.tar.gz
One more leak, not closing the connection in ex_all.c
-rw-r--r--examples/c/ex_all.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/c/ex_all.c b/examples/c/ex_all.c
index 09a95d3aaee..b8df3bd914d 100644
--- a/examples/c/ex_all.c
+++ b/examples/c/ex_all.c
@@ -910,5 +910,7 @@ main(void)
/*! [Get the WiredTiger library version #2] */
}
+ (void)conn->close(conn, NULL);
+
return (ret);
}