summaryrefslogtreecommitdiff
path: root/wsrep
diff options
context:
space:
mode:
authorDaniele Sciascia <daniele.sciascia@galeracluster.com>2016-05-18 11:07:58 +0200
committerNirbhay Choubey <nirbhay@mariadb.com>2016-08-21 16:17:13 -0400
commit92162e6d8761d8586299cfd88682a7704df2d7fa (patch)
treeafc72303266f97bf16f612c8a4502fe2ee7a6e85 /wsrep
parent137af55ca1064a605fed608572b34135823de6ac (diff)
downloadmariadb-git-92162e6d8761d8586299cfd88682a7704df2d7fa.tar.gz
MW-175 Fix definitively lost memory in wsrep_get_params
Diffstat (limited to 'wsrep')
-rw-r--r--wsrep/wsrep_dummy.c2
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(