Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
07af2cc7
Commit
07af2cc7
authored
Oct 20, 2013
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
GLSpectrum: fix memory leak (cid #1100858)
parent
6e49748f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
modules/visualization/glspectrum.c
modules/visualization/glspectrum.c
+2
-1
No files found.
modules/visualization/glspectrum.c
View file @
07af2cc7
...
...
@@ -423,7 +423,7 @@ static void *Thread( void *p_data )
const
unsigned
xscale
[]
=
{
0
,
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
11
,
15
,
20
,
27
,
36
,
47
,
62
,
82
,
107
,
141
,
184
,
255
};
fft_state
*
p_state
;
/* internal FFT data */
fft_state
*
p_state
=
NULL
;
/* internal FFT data */
unsigned
i
,
j
;
float
p_output
[
FFT_BUFFER_SIZE
];
/* Raw FFT Result */
...
...
@@ -531,6 +531,7 @@ static void *Thread( void *p_data )
}
release:
fft_close
(
p_state
);
block_Release
(
block
);
vlc_restorecancel
(
canc
);
}
...
...
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