$OpenBSD: patch-libcroco_parser_cr-om-parser_c,v 1.2 2010/07/16 12:26:56 ajacoutot Exp $ --- libcroco/parser/cr-om-parser.c.orig Fri Mar 18 17:14:03 2005 +++ libcroco/parser/cr-om-parser.c Fri Jul 16 14:12:43 2010 @@ -1006,7 +1006,7 @@ cr_om_parser_parse_paths_to_cascade (CROMParser * a_th g_return_val_if_fail (a_this, CR_BAD_PARAM_ERROR); - memset (sheets, 0, sizeof (CRStyleSheet) * 3); + memset (sheets, 0, sizeof (sheets)); paths[0] = (guchar *) a_author_path; paths[1] = (guchar *) a_user_path; paths[2] = (guchar *) a_ua_path;