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>
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>