fix: free default_ocv_derate_ in LibertyLibrary destructor (#249)

This commit is contained in:
G 2025-06-01 02:11:44 +08:00 committed by GitHub
parent dba11c1ecf
commit 79c90c3c70
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -136,6 +136,9 @@ LibertyLibrary::~LibertyLibrary()
delete inverters_;
driver_waveform_map_.deleteContents();
delete driver_waveform_default_;
delete default_ocv_derate_;
default_ocv_derate_ = nullptr;
}
LibertyCell *