From 317d0028281c09e217294936f6c5a983bc49f649 Mon Sep 17 00:00:00 2001 From: Hans Leidekker Date: Wed, 25 Jul 2012 13:12:57 +0200 Subject: [PATCH] wbemprox: Reset the number of rows only when the table was filled dynamically. --- dlls/wbemprox/table.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/wbemprox/table.c b/dlls/wbemprox/table.c index 5e79de52de4..d3ad06ddb9a 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; }