Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dbus
dbus
Commits
d18f03b5
Commit
d18f03b5
authored
Jul 15, 2008
by
Ray Strode
Browse files
Add the size of the leak to the debug output
parent
f848715b
Changes
1
Hide whitespace changes
Inline
Side-by-side
dbus/dbus-memory.c
View file @
d18f03b5
...
...
@@ -850,7 +850,7 @@ print_leaks (void)
if
(
blocks
[
i
]
!=
NULL
)
{
struct
block
*
block
;
fprintf
(
stderr
,
"found
leak
\n
"
);
fprintf
(
stderr
,
"found
%ld byte leak
\n
"
,
block
->
size
);
block
=
blocks
[
i
];
backtrace_symbols_fd
(
block
->
symbols
,
block
->
number_of_symbols
,
2
);
fprintf
(
stderr
,
"--
\n
"
);
...
...
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