Commit caaf027e authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

widl: Fix size parameter for xrealloc (Coccinelle).

parent 9cf1af7c
......@@ -754,7 +754,7 @@ static void build_iface_list( const statement_list_t *stmts, type_t **ifaces[],
type_t *iface = stmt->u.type;
if (type_iface_get_inherit(iface) && need_proxy(iface))
{
*ifaces = xrealloc( *ifaces, (*count + 1) * sizeof(*ifaces) );
*ifaces = xrealloc( *ifaces, (*count + 1) * sizeof(**ifaces) );
(*ifaces)[(*count)++] = iface;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment