mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-01 06:23:42 +00:00
Fix some coverity warnings
This commit is contained in:
parent
097b02a8a1
commit
36c235556a
@ -4466,7 +4466,7 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type, void *data)
|
||||
case DISPLAYLIST_CORE_CONTENT_DIRS:
|
||||
{
|
||||
#ifdef HAVE_NETWORKING
|
||||
char new_label[PATH_MAX_LENGTH];
|
||||
char new_label[PATH_MAX_LENGTH] = {0};
|
||||
fill_pathname_join(new_label, settings->network.buildbot_assets_url, "cores", sizeof(new_label));
|
||||
print_buf_lines(info->list, core_buf, new_label,
|
||||
core_len, FILE_TYPE_DOWNLOAD_URL);
|
||||
|
@ -379,6 +379,8 @@ error:
|
||||
nbio_free(handle);
|
||||
task_image_load_free(t);
|
||||
free(t);
|
||||
if (nbio)
|
||||
free(nbio);
|
||||
|
||||
error_msg:
|
||||
RARCH_ERR("[image load] Failed to open '%s': %s.\n",
|
||||
|
Loading…
x
Reference in New Issue
Block a user