ENGINE-102: test used name1 directly after freeing it causing the crash. keysync
authorKrista Grothoff <krista@pep-project.org>
Tue, 04 Oct 2016 11:30:55 +0200
branchkeysync
changeset 1239641f4e51e0fb
parent 1238 191fe41c2513
child 1240 3a4395c2f28f
ENGINE-102: test used name1 directly after freeing it causing the crash.
test/sequence_test.cc
     1.1 --- a/test/sequence_test.cc	Mon Oct 03 22:26:48 2016 +0200
     1.2 +++ b/test/sequence_test.cc	Tue Oct 04 11:30:55 2016 +0200
     1.3 @@ -33,7 +33,7 @@
     1.4  
     1.5      cout << "test sequence: " << value2 << "\n";
     1.6      assert(value2 == value1 + 1);
     1.7 -    free(name1);
     1.8 +//    free(name1);
     1.9  
    1.10      cout << "testing sequence violation\n";
    1.11      int32_t value3 = value2 - 1;