diff options
author | Nirbhay Choubey <nirbhay@skysql.com> | 2014-05-21 16:03:58 -0400 |
---|---|---|
committer | Nirbhay Choubey <nirbhay@skysql.com> | 2014-05-21 16:03:58 -0400 |
commit | 0903e2b744f627f57a99edd5d2b6ffdec1ef4a03 (patch) | |
tree | a5f71962f13287fc71d80de44485a04e25e88a09 /wsrep | |
parent | 645d4025449d960dd20e1e9b22b5d24d12b8a6af (diff) | |
download | mariadb-git-0903e2b744f627f57a99edd5d2b6ffdec1ef4a03.tar.gz |
Fix for a segfault.
Diffstat (limited to 'wsrep')
-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; } |