Misplaced the memset, fixed

Signed-off-by: William Douglas <william.douglas@intel.com>