From 5c5d43953cede36995e1bec3843aa157639f03f4 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Mon, 3 Aug 2009 19:06:21 +0000 Subject: [PATCH] Patch by Bryce Groff: don't leak the driver settings handle. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32097 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/drivesetup/InitParamsPanel.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/apps/drivesetup/InitParamsPanel.cpp b/src/apps/drivesetup/InitParamsPanel.cpp index 68a257b256..af46af8055 100644 --- a/src/apps/drivesetup/InitParamsPanel.cpp +++ b/src/apps/drivesetup/InitParamsPanel.cpp @@ -198,6 +198,7 @@ InitParamsPanel::Go(BString& name, BString& parameters) const char* string = get_driver_parameter(handle, "name", NULL, NULL); name.SetTo(string); + delete_driver_settings(handle); } } else fReturnValue = err;