summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2019-04-08 18:08:37 +0200
committerantirez <antirez@gmail.com>2019-04-08 18:08:37 +0200
commitc24e32041b91ac32626e8d8eee1c062942e25f27 (patch)
tree45893fde38f000bb7248a92dd10478d47c48b9da /tests
parentf8a9708aa705b6493ef63a82e42ed428997b817a (diff)
downloadredis-c24e32041b91ac32626e8d8eee1c062942e25f27.tar.gz
ACL: Fix memory leak in ACLResetSubcommandsForCommand().
This commit fixes bug reported at #5998. Thanks to @tomcat1102.
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/acl.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/acl.tcl b/tests/unit/acl.tcl
index 90f2c9bbf..058441433 100644
--- a/tests/unit/acl.tcl
+++ b/tests/unit/acl.tcl
@@ -109,7 +109,7 @@ start_server {tags {"acl"}} {
assert_match {*+acl*} $cmdstr
}
- test {ACL regression: memory leaks adding / removing subcommands} {
+ test {ACL #5998 regression: memory leaks adding / removing subcommands} {
r AUTH default ""
r ACL setuser newuser reset -debug +debug|a +debug|b +debug|c
r ACL setuser newuser -debug