fix small memory leak in OSDI interface
This commit is contained in:
parent
f9ed3fd080
commit
15e9d749e2
|
|
@ -316,6 +316,8 @@ extern OsdiObjectFile load_object_file(const char *input) {
|
||||||
return INVALID_OBJECT;
|
return INVALID_OBJECT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
txfree(path);
|
||||||
|
|
||||||
GET_CONST(OSDI_NUM_DESCRIPTORS, uint32_t);
|
GET_CONST(OSDI_NUM_DESCRIPTORS, uint32_t);
|
||||||
GET_PTR(OSDI_DESCRIPTORS, OsdiDescriptor);
|
GET_PTR(OSDI_DESCRIPTORS, OsdiDescriptor);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue