msado15: Set row_set point to NULL on close.

Stops a crash when Close then Release is called on a Recordset.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alistair Leslie-Hughes 2020-12-23 20:13:58 +11:00 committed by Alexandre Julliard
parent e27a95e920
commit df2c595181
1 changed files with 1 additions and 0 deletions

View File

@ -760,6 +760,7 @@ static void close_recordset( struct recordset *recordset )
ULONG row, col, col_count;
if ( recordset->row_set ) IRowset_Release( recordset->row_set );
recordset->row_set = NULL;
if (!recordset->fields) return;
col_count = get_column_count( recordset );