[4/5] wbemprox: Reset the number of rows only when the table was filled dynamically.
Hans Leidekker
hans at codeweavers.com
Wed Jul 25 06:12:57 CDT 2012
---
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 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;
}
--
1.7.10.4
More information about the wine-patches
mailing list