From a359cccbde6f7adabf49894b2bb90d23e77985dd Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 2 Feb 2023 15:19:46 +0000 Subject: [PATCH] ITS#10000 slapd-watcher: plug potential leak --- tests/progs/slapd-watcher.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/progs/slapd-watcher.c b/tests/progs/slapd-watcher.c index 4cbd336eaa..50d9d1dfbb 100644 --- a/tests/progs/slapd-watcher.c +++ b/tests/progs/slapd-watcher.c @@ -539,12 +539,12 @@ setup_server( struct tester_conn_args *config, server *sv ) } } } - ldap_msgfree( res ); break; default: tester_ldap_error( ld, "ldap_search_ext_s(baseDN)", sv->url ); } + ldap_msgfree( res ); } } -- 2.47.3