test: Add context reference counting test
authorJonas Ådahl <jadahl@gmail.com>
Tue, 24 Jun 2014 22:06:59 +0000 (00:06 +0200)
committerPeter Hutterer <peter.hutterer@who-t.net>
Wed, 25 Jun 2014 00:27:03 +0000 (10:27 +1000)
commit89aa3ca176130104f2fc5c034400cbb4c41cf479
tree191856156e5f4b7d75340cad4c02b7a70d8ec9b0
parentfaab25c25cd9cf1b76962e9cb8b26c2c754c0cde
test: Add context reference counting test

This test relies on valgrind detecting the leak and use-after-free.

Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
test/misc.c