]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#4196] fixed memory leak
authorRazvan Becheriu <razvan@isc.org>
Sat, 1 Nov 2025 12:21:50 +0000 (14:21 +0200)
committerRazvan Becheriu <razvan@isc.org>
Mon, 3 Nov 2025 16:01:20 +0000 (16:01 +0000)
src/bin/d2/d2_controller.cc

index 244f349b06e9f1111e5b1e0f11f29e9e6f502dc6..f89018302262b0b299b1defd07ed837271d82a96 100644 (file)
@@ -145,6 +145,7 @@ D2Controller::parseFile(const std::string& file_name) {
 }
 
 D2Controller::~D2Controller() {
+    deregisterCommands();
 }
 
 } // end namespace isc::d2