mirror of https://github.com/MidnightCommander/mc
Fixed of GSList item deallocation.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
34d74f09b1
commit
68d7a77210
|
@ -706,7 +706,7 @@ extfs_resolve_symlinks_int (struct entry *entry, GSList * list)
|
|||
|
||||
looping = g_slist_prepend (list, entry);
|
||||
pent = extfs_find_entry_int (entry->dir, entry->inode->linkname, looping, FALSE, FALSE);
|
||||
g_free (looping); /* It is OK here, no any leaks */
|
||||
g_slist_delete_link (looping, looping);
|
||||
|
||||
if (pent == NULL)
|
||||
my_errno = ENOENT;
|
||||
|
|
Loading…
Reference in New Issue