mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
forgot to free memory
This commit is contained in:
parent
722137296d
commit
a7f134b5a7
1 changed files with 2 additions and 0 deletions
|
@ -614,6 +614,8 @@ void fill_pathname_parent_dir_name(char *out_dir,
|
|||
in_dir = find_last_slash(temp) + 1;
|
||||
|
||||
strlcpy(out_dir, in_dir, size);
|
||||
|
||||
free(temp);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue