Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
2b590f63
Commit
2b590f63
authored
Jan 15, 2006
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix
parent
4f86b958
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
src/misc/stats.c
src/misc/stats.c
+2
-4
No files found.
src/misc/stats.c
View file @
2b590f63
...
...
@@ -55,18 +55,16 @@ void stats_HandlerDestroy( stats_handler_t *p_stats )
for
(
i
=
p_stats
->
i_counters
-
1
;
i
>=
0
;
i
--
)
{
int
j
;
counter
*
p_counter
=
p_stats
->
pp_counters
[
i
];
counter
_t
*
p_counter
=
p_stats
->
pp_counters
[
i
];
for
(
j
=
p_counter
->
i_samples
-
1
;
j
>=
0
;
j
--
)
{
counter_sample_t
*
p_sample
=
p_counter
->
pp_samples
[
j
];
if
(
p_sample
->
val
.
psz_string
)
free
(
p_sample
->
val
.
psz_string
);
REMOVE_ELEM
(
p_counter
->
pp_samples
,
p_counter
->
i_samples
,
j
);
free
(
p_sample
);
}
free
(
p_counter
->
psz_name
);
REMOVE_ELEM
(
p_stats
->
pp_counters
,
p_stats
->
i_counter
,
i
);
REMOVE_ELEM
(
p_stats
->
pp_counters
,
p_stats
->
i_counter
s
,
i
);
free
(
p_counter
);
}
}
...
...
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