d3dxof: Properly initialize nb_childs.
authorChristian Costa <titan.costa@wanadoo.fr>
Fri, 23 Oct 2009 06:40:48 +0000 (08:40 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 23 Oct 2009 10:23:28 +0000 (12:23 +0200)
dlls/d3dxof/parsing.c

index dc7b4735bfc8df65af7804fb18caa3122905aa20..fb5ab4e2160840b107997af7d13428439e64530b 100644 (file)
@@ -1174,6 +1174,8 @@ static BOOL parse_object_members_list(parse_buffer * buf)
 
 static BOOL parse_object_parts(parse_buffer * buf, BOOL allow_optional)
 {
+  buf->pxo->nb_childs = 0;
+
   if (!parse_object_members_list(buf))
     return FALSE;