Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
b7439752
Commit
b7439752
authored
Feb 20, 2015
by
Thomas Guillem
Committed by
Jean-Baptiste Kempf
Feb 20, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
audiotrack: fix audioTimestamp leak
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
11a5d4f4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
modules/audio_output/audiotrack.c
modules/audio_output/audiotrack.c
+6
-0
No files found.
modules/audio_output/audiotrack.c
View file @
b7439752
...
@@ -607,6 +607,12 @@ JNIThread_Stop( JNIEnv *env, bool *p_error, audio_output_t *p_aout )
...
@@ -607,6 +607,12 @@ JNIThread_Stop( JNIEnv *env, bool *p_error, audio_output_t *p_aout )
JNI_AT_CALL_VOID
(
release
);
JNI_AT_CALL_VOID
(
release
);
(
*
env
)
->
DeleteGlobalRef
(
env
,
p_sys
->
p_audiotrack
);
(
*
env
)
->
DeleteGlobalRef
(
env
,
p_sys
->
p_audiotrack
);
p_sys
->
p_audiotrack
=
NULL
;
p_sys
->
p_audiotrack
=
NULL
;
if
(
p_sys
->
p_audioTimestamp
)
{
(
*
env
)
->
DeleteGlobalRef
(
env
,
p_sys
->
p_audioTimestamp
);
p_sys
->
p_audioTimestamp
=
NULL
;
}
}
}
static
void
static
void
...
...
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