diff options
author | Don Anderson <dda@mongodb.com> | 2016-08-29 22:03:31 -0400 |
---|---|---|
committer | Alex Gorrod <alexander.gorrod@mongodb.com> | 2016-08-30 12:03:31 +1000 |
commit | 1ae0ab811fad080c197da3c0a73eb218226eb3f2 (patch) | |
tree | d1d5f345b308a39d45c39ae13e1ea1032a231f97 /lang | |
parent | d7873056f92e5055695bf4e9c03a29d9462527f9 (diff) | |
download | mongo-1ae0ab811fad080c197da3c0a73eb218226eb3f2.tar.gz |
WT-2788 Do not touch memory already freed during a close API call. (#2992)
Also added a test case for the problem.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/java/Makefile.am | 1 | ||||
-rw-r--r-- | lang/java/wiredtiger.i | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/lang/java/Makefile.am b/lang/java/Makefile.am index 192e44a05d2..7184fe610dc 100644 --- a/lang/java/Makefile.am +++ b/lang/java/Makefile.am @@ -46,6 +46,7 @@ JAVA_JUNIT = \ $(JAVATEST)/AsyncTest.java \ $(JAVATEST)/BackupCursorTest.java \ $(JAVATEST)/ConfigTest.java \ + $(JAVATEST)/ConcurrentCloseTest.java \ $(JAVATEST)/CursorTest.java \ $(JAVATEST)/CursorTest02.java \ $(JAVATEST)/ExceptionTest.java \ diff --git a/lang/java/wiredtiger.i b/lang/java/wiredtiger.i index c04bae63cbc..d6e0660dc2c 100644 --- a/lang/java/wiredtiger.i +++ b/lang/java/wiredtiger.i @@ -240,7 +240,6 @@ WT_CLASS(type, class, name) %typemap(freearg, numinputs=0) class ## _CLOSED *name { closeHandler(jenv, savesess2, jcb2); - priv = NULL; } %enddef |