mirror of
https://github.com/The-OpenROAD-Project/OpenSTA.git
synced 2026-06-03 00:41:37 +08:00
libertyIncludeBegin leak
Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
@@ -546,8 +546,11 @@ libertyIncludeBegin(const char *filename)
|
||||
liberty_filename = filename;
|
||||
liberty_line = 1;
|
||||
}
|
||||
else
|
||||
libertyParseError("cannot open include file %s.", filename);
|
||||
else {
|
||||
string file(filename);
|
||||
stringDelete(filename);
|
||||
libertyParseError("cannot open include file %s.", file.c_str());
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user