mirror of https://github.com/MidnightCommander/mc
(_vfs_get_cwd): fixed memory leak.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
1c0e5a4773
commit
b61e0fc6a9
|
@ -545,6 +545,8 @@ _vfs_get_cwd (void)
|
|||
{
|
||||
vfs_set_raw_current_dir (vfs_path_from_str (tmp));
|
||||
}
|
||||
|
||||
g_free (tmp);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue