diff options
-rw-r--r-- | wsrep/wsrep_dummy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wsrep/wsrep_dummy.c b/wsrep/wsrep_dummy.c index fb5881410ff..bab5329dc02 100644 --- a/wsrep/wsrep_dummy.c +++ b/wsrep/wsrep_dummy.c @@ -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; } |