wbemprox: Reset the number of rows only when the table was filled dynamically.

This commit is contained in:
Hans Leidekker 2012-07-25 13:12:57 +02:00 committed by Alexandre Julliard
parent 2c5da008f7
commit 317d002828

View file

@ -243,9 +243,9 @@ static void clear_table( struct table *table )
}
}
}
table->num_rows = 0;
if (table->fill)
{
table->num_rows = 0;
heap_free( table->data );
table->data = NULL;
}