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
This commit is contained in:
parent
fe05e6c359
commit
5c5d43953c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user