git://wimlib.net
/
wimlib
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb61b7c
)
free_inode(): Fix deletion of inode from list
author
Eric Biggers
<ebiggers3@gmail.com>
Wed, 19 Dec 2012 03:15:40 +0000
(21:15 -0600)
committer
Eric Biggers
<ebiggers3@gmail.com>
Wed, 19 Dec 2012 03:15:40 +0000
(21:15 -0600)
src/dentry.c
patch
|
blob
|
history
diff --git
a/src/dentry.c
b/src/dentry.c
index e7d34f5d08ed9c968225baa3e3f03f395c505df6..978a825f25ec417342fff795ff9f2b68947b3e21 100644
(file)
--- a/
src/dentry.c
+++ b/
src/dentry.c
@@
-895,7
+895,7
@@
void free_inode(struct inode *inode)
wimlib_assert(inode->num_opened_fds == 0);
FREE(inode->fds);
pthread_mutex_destroy(&inode->i_mutex);
- if (inode->hlist.
next
)
+ if (inode->hlist.
pprev
)
hlist_del(&inode->hlist);
#endif
FREE(inode->extracted_file);