1
0
Fork 0
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:
Niklas Eiling 2024-02-10 16:14:52 +01:00 committed by Steffen Vogel
parent 5d3f170c40
commit 04ba5eb2cf

View file

@ -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) {