Commit df2c5951 authored by Alistair Leslie-Hughes's avatar Alistair Leslie-Hughes Committed by Alexandre Julliard

msado15: Set row_set point to NULL on close.

Stops a crash when Close then Release is called on a Recordset. Signed-off-by: 's avatarAlistair Leslie-Hughes <leslie_alistair@hotmail.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent e27a95e9
......@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment