Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • BIND BIND
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 616
    • Issues 616
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 94
    • Merge requests 94
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ISC Open Source ProjectsISC Open Source Projects
  • BINDBIND
  • Issues
  • #2155
Closed
Open
Issue created Sep 17, 2020 by Mark Andrews@markaDeveloper

reference leak on error in controlconf.c:control_respond

on inspection this should be fixed.

diff --git a/bin/named/controlconf.c b/bin/named/controlconf.c
index 5d776e638e..706ec0b9ec 100644
--- a/bin/named/controlconf.c
+++ b/bin/named/controlconf.c
@@ -371,8 +371,10 @@ control_respond(isc_nmhandle_t *handle, isc_result_t result, void *arg) {
        }
 
        return;
+
 cleanup:
        conn_cleanup(conn);
+       isc_nmhandle_detach(&conn->cmdhandle);
 }
 
 static void
Edited Sep 17, 2020 by Mark Andrews
Assignee
Assign to
Time tracking