mirror of
https://github.com/libretro/RetroArch
synced 2025-02-22 21:40:40 +00:00
forgot to free memory
This commit is contained in:
parent
722137296d
commit
a7f134b5a7
@ -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…
x
Reference in New Issue
Block a user