mirror of
https://github.com/libretro/RetroArch
synced 2025-04-03 10:21:31 +00:00
config_file.c - fix Coverity warning - resource leak of
path
This commit is contained in:
parent
04e6554ad6
commit
515918f80c
@ -289,6 +289,7 @@ static bool parse_line(config_file_t *conf,
|
|||||||
fprintf(stderr, "!!! #include depth exceeded for config. Might be a cycle.\n");
|
fprintf(stderr, "!!! #include depth exceeded for config. Might be a cycle.\n");
|
||||||
else
|
else
|
||||||
add_sub_conf(conf, path);
|
add_sub_conf(conf, path);
|
||||||
|
free(path);
|
||||||
}
|
}
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user