Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
309a9bf3
Commit
309a9bf3
authored
Feb 22, 2006
by
Mike McCormack
Committed by
Alexandre Julliard
Feb 22, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Make sure we don't get into an infinite loop freeing inodes.
parent
4241adbf
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
change.c
server/change.c
+3
-3
No files found.
server/change.c
View file @
309a9bf3
...
...
@@ -492,10 +492,10 @@ static void free_inode( struct inode *inode )
if
(
!
subtree
&&
!
inode
->
parent
)
{
struct
list
*
head
;
while
(
(
head
=
list_head
(
&
inode
->
children
))
)
struct
inode
*
tmp
,
*
next
;
LIST_FOR_EACH_ENTRY_SAFE
(
tmp
,
next
,
&
inode
->
children
,
struct
inode
,
ch_entry
)
{
struct
inode
*
tmp
=
LIST_ENTRY
(
head
,
struct
inode
,
ch_entry
);
assert
(
tmp
!=
inode
);
assert
(
tmp
->
parent
==
inode
);
free_inode
(
tmp
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment