When path is NULL, we don't need to free it.

This commit is contained in:
Holger Vogt 2023-02-25 15:40:52 +01:00
parent 75f9451702
commit f83c89cce7
1 changed files with 0 additions and 1 deletions

View File

@ -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;
}