summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorunknown <msvensson@neptunus.(none)>2005-12-07 14:52:37 +0100
committerunknown <msvensson@neptunus.(none)>2005-12-07 14:52:37 +0100
commit861dc95767bd412d9ee2688bc8943352bf110fe4 (patch)
tree76e1bfe792ca534131c577f640de1dec4eb36147 /client
parent0e545776c7373650528453c80d6846ade15c6d0a (diff)
downloadmariadb-git-861dc95767bd412d9ee2688bc8943352bf110fe4.tar.gz
Fix memory leak
client/mysqltest.c: Call my_regex_end to free global memory allocated regex library
Diffstat (limited to 'client')
-rw-r--r--client/mysqltest.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/client/mysqltest.c b/client/mysqltest.c
index 91791145db5..285aa0fe033 100644
--- a/client/mysqltest.c
+++ b/client/mysqltest.c
@@ -4015,6 +4015,7 @@ static void free_re(void)
my_regfree(&ps_re);
my_regfree(&sp_re);
my_regfree(&view_re);
+ my_regex_end();
}
/****************************************************************************/