mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-01 02:46:32 +00:00
wbemprox: Reset the number of rows only when the table was filled dynamically.
This commit is contained in:
parent
2c5da008f7
commit
317d002828
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue