Fixed of GSList item deallocation.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2010-03-02 16:50:28 +00:00
parent 34d74f09b1
commit 68d7a77210
1 changed files with 1 additions and 1 deletions

View File

@ -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;