mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
Fix typo
This commit is contained in:
parent
c0ccb8cda3
commit
d55d1a8863
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue