Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
LibretroAdmin committed Feb 22, 2023
1 parent c0ccb8c commit d55d1a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libretro-common/file/config_file.c
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ static char *config_file_extract_value(char *line)
* to avoid an unnecessary dependency -
* call is strldup("", sizeof(""))
**/
dst = (char*)malloc(sizeof(char*) * 2);
dst = (char*)malloc(sizeof(char) * 2);
strlcpy(dst, "", 1);
return dst;
}
Expand Down

0 comments on commit d55d1a8

Please sign in to comment.