Skip to content

Commit

Permalink
leak
Browse files Browse the repository at this point in the history
Signed-off-by: James Cherry <[email protected]>
  • Loading branch information
jjcherry56 committed Nov 7, 2024
1 parent e476cd6 commit 23eccdd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions liberty/LibertyReader.cc
Original file line number Diff line number Diff line change
Expand Up @@ -651,8 +651,6 @@ LibertyReader::beginLibrary(LibertyGroup *group)
library_->units()->currentUnit()->setScale(current_scale_);
library_->units()->distanceUnit()->setScale(distance_scale_);


library_->setDelayModelType(DelayModelType::cmos_linear);
scale_factors_ = new ScaleFactors("");
library_->setScaleFactors(scale_factors_);
}
Expand Down
1 change: 1 addition & 0 deletions util/StringUtil.cc
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ stringPrintTmp(const char *fmt,

if (tmp_length >= tmp_length1) {
tmp_length1 = tmp_length + 1;
stringDelete(tmp);
tmp = makeTmpString(tmp_length1);
va_copy(args_copy, args);
tmp_length = vsnprint(tmp, tmp_length1, fmt, args_copy);
Expand Down

0 comments on commit 23eccdd

Please sign in to comment.