test: fix kernel test for revoke after
authorPeter Hutterer <peter.hutterer@who-t.net>
Wed, 2 Apr 2014 01:31:59 +0000 (11:31 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Wed, 2 Apr 2014 01:35:12 +0000 (11:35 +1000)
commitf90c038a2db1caba84fce5857bd2ea33600d7af2
tree61673c4ad3a3b5018301d9762a8c35b8fda8e7f6
parent9fa89aabba541eb47e738b98771011411aac2109
test: fix kernel test for revoke after

dev2 by definition doesn't initialize, we expect it to fail. Freeing it after
is a bad idea. Also initialize it to NULL so this is a bit more obvious now.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
test/test-kernel.c