diff options
author | Daniele Sciascia <daniele.sciascia@galeracluster.com> | 2016-05-18 11:07:58 +0200 |
---|---|---|
committer | Nirbhay Choubey <nirbhay@mariadb.com> | 2016-08-21 16:17:13 -0400 |
commit | 92162e6d8761d8586299cfd88682a7704df2d7fa (patch) | |
tree | afc72303266f97bf16f612c8a4502fe2ee7a6e85 /wsrep | |
parent | 137af55ca1064a605fed608572b34135823de6ac (diff) | |
download | mariadb-git-92162e6d8761d8586299cfd88682a7704df2d7fa.tar.gz |
MW-175 Fix definitively lost memory in wsrep_get_params
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 bab5329dc02..5f1ea63cc40 100644 --- a/wsrep/wsrep_dummy.c +++ b/wsrep/wsrep_dummy.c @@ -86,7 +86,7 @@ static wsrep_status_t dummy_options_set( static char* dummy_options_get (wsrep_t* w) { WSREP_DBUG_ENTER(w); - return WSREP_DUMMY(w)->options; + return strdup(WSREP_DUMMY(w)->options); } static wsrep_status_t dummy_connect( |