Introduce a memleak in the test app.
authorMilian Wolff <mail@milianw.de>
Wed, 21 May 2014 12:42:33 +0000 (14:42 +0200)
committerMilian Wolff <mail@milianw.de>
Wed, 21 May 2014 12:42:33 +0000 (14:42 +0200)
tests/test.cpp

index db52e6b..75738ca 100644 (file)
@@ -17,7 +17,6 @@ void asdf()
 {
     int* i = new int;
     printf("i in asdf: %p\n", i);
-    delete i;
 }
 
 void bar()