Fix a memset, memset struct to 0, not just the pointer

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