When path is NULL, we don't need to free it.
This commit is contained in:
parent
ac8fb9ecda
commit
026c8cca18
|
|
@ -288,7 +288,6 @@ extern OsdiObjectFile load_object_file(const char *input) {
|
|||
if (!path) {
|
||||
fprintf(stderr, "Error opening osdi lib \"%s\": No such file or directory!\n",
|
||||
input);
|
||||
txfree(path);
|
||||
return INVALID_OBJECT;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue