1
1

Merge branch '2053_vfs_memleak'

* 2053_vfs_memleak:
  Ticket #2053: fixed memory leak in mc_symlink() function.
Этот коммит содержится в:
Andrew Borodin 2010-02-24 12:08:20 +00:00
родитель e2b2ea2bfa 3770047407
Коммит 26e167d249

Просмотреть файл

@ -617,7 +617,8 @@ mc_symlink (const char *name1, const char *path)
vfs = vfs_get_class (mpath);
result = vfs->symlink ? (*vfs->symlink) (vfs, lpath, mpath) : -1;
g_free (lpath);
g_free (mpath);
if (result == -1)
errno = vfs->symlink ? ferrno (vfs) : E_NOTSUPP;
return result;