Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
criu
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhul
criu
Commits
0c5dc42d
Commit
0c5dc42d
authored
Mar 26, 2012
by
Pavel Emelyanov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dump: Don't forget to close fdset when task dump ends
Signed-off-by:
Pavel Emelyanov
<
xemul@parallels.com
>
parent
4a3861ac
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
cr-dump.c
cr-dump.c
+2
-1
No files found.
cr-dump.c
View file @
0c5dc42d
...
@@ -1285,7 +1285,7 @@ static int dump_one_task(const struct pstree_item *item)
...
@@ -1285,7 +1285,7 @@ static int dump_one_task(const struct pstree_item *item)
int
ret
=
-
1
;
int
ret
=
-
1
;
struct
parasite_dump_misc
misc
;
struct
parasite_dump_misc
misc
;
struct
sk_queue
sk_queue
=
{
};
struct
sk_queue
sk_queue
=
{
};
struct
cr_fdset
*
cr_fdset
;
struct
cr_fdset
*
cr_fdset
=
NULL
;
pr_info
(
"========================================
\n
"
);
pr_info
(
"========================================
\n
"
);
pr_info
(
"Dumping task (pid: %d)
\n
"
,
pid
);
pr_info
(
"Dumping task (pid: %d)
\n
"
,
pid
);
...
@@ -1387,6 +1387,7 @@ static int dump_one_task(const struct pstree_item *item)
...
@@ -1387,6 +1387,7 @@ static int dump_one_task(const struct pstree_item *item)
goto
err
;
goto
err
;
}
}
err:
err:
close_cr_fdset
(
&
cr_fdset
);
close_pid_proc
();
close_pid_proc
();
err_free:
err_free:
free_mappings
(
&
vma_area_list
);
free_mappings
(
&
vma_area_list
);
...
...
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