Stops a crash when Close then Release is called on a Recordset.
Signed-off-by: Alistair Leslie-Hughes leslie_alistair@hotmail.com --- dlls/msado15/recordset.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/dlls/msado15/recordset.c b/dlls/msado15/recordset.c index 17200d73790..e915922fdc4 100644 --- a/dlls/msado15/recordset.c +++ b/dlls/msado15/recordset.c @@ -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 );