Skip to content

Commit

Permalink
Change db_crc size back
Browse files Browse the repository at this point in the history
  • Loading branch information
LibretroAdmin committed Feb 10, 2025
1 parent 7a7c4df commit 56d3042
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/task_database.c
Original file line number Diff line number Diff line change
Expand Up @@ -773,7 +773,7 @@ static int database_info_list_iterate_found_match(
* We should use less fullsize paths in the future so that we don't
* need to have all these big char arrays here */
size_t str_len = PATH_MAX_LENGTH * sizeof(char);
char* db_crc = (char*)malloc(256 * sizeof(char));
char* db_crc = (char*)malloc(str_len);
char* db_playlist_path = (char*)malloc(str_len);
char* entry_path_str = (char*)malloc(str_len);
char *hash = NULL;
Expand Down

0 comments on commit 56d3042

Please sign in to comment.