Module: wine Branch: master Commit: 317d0028281c09e217294936f6c5a983bc49f649 URL: http://source.winehq.org/git/wine.git/?a=commit;h=317d0028281c09e217294936f6...
Author: Hans Leidekker hans@codeweavers.com Date: Wed Jul 25 13:12:57 2012 +0200
wbemprox: Reset the number of rows only when the table was filled dynamically.
---
dlls/wbemprox/table.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/wbemprox/table.c b/dlls/wbemprox/table.c index 5e79de5..d3ad06d 100644 --- a/dlls/wbemprox/table.c +++ b/dlls/wbemprox/table.c @@ -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; }