mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
kernel/pci: fix memory leak in Id()
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
This commit is contained in:
parent
5d3f170c40
commit
04ba5eb2cf
1 changed files with 1 additions and 0 deletions
|
@ -156,6 +156,7 @@ Id::Id(const std::string &str) : vendor(0), device(0), class_code(0) {
|
|||
|
||||
class_code = x;
|
||||
}
|
||||
free(tmp);
|
||||
}
|
||||
|
||||
bool Id::operator==(const Id &i) {
|
||||
|
|
Loading…
Add table
Reference in a new issue