mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
Fix for a segfault.
This commit is contained in:
@@ -44,11 +44,11 @@ typedef struct wsrep_dummy
|
||||
static void dummy_free(wsrep_t *w)
|
||||
{
|
||||
WSREP_DBUG_ENTER(w);
|
||||
free(w->ctx);
|
||||
if (WSREP_DUMMY(w)->options) {
|
||||
free(WSREP_DUMMY(w)->options);
|
||||
WSREP_DUMMY(w)->options = NULL;
|
||||
}
|
||||
free(w->ctx);
|
||||
w->ctx = NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user