schema.c: Initialized newly alloced array with memset

valgrind discovered a bug here.

Signed-off-by: Morten Hustveit <morten.hustveit@gmail.com>