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:
parent
e27a95e920
commit
df2c595181
|
@ -760,6 +760,7 @@ static void close_recordset( struct recordset *recordset )
|
||||||
ULONG row, col, col_count;
|
ULONG row, col, col_count;
|
||||||
|
|
||||||
if ( recordset->row_set ) IRowset_Release( recordset->row_set );
|
if ( recordset->row_set ) IRowset_Release( recordset->row_set );
|
||||||
|
recordset->row_set = NULL;
|
||||||
|
|
||||||
if (!recordset->fields) return;
|
if (!recordset->fields) return;
|
||||||
col_count = get_column_count( recordset );
|
col_count = get_column_count( recordset );
|
||||||
|
|
Loading…
Reference in New Issue