Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Casanowow Life for love
VLC-Android
Commits
46b3e1a7
Commit
46b3e1a7
authored
Jan 20, 2012
by
Rafaël Carré
Browse files
readMediaMeta: fix memleak
parent
1b454f51
Changes
1
Hide whitespace changes
Inline
Side-by-side
vlc-android/jni/libvlcjni.c
View file @
46b3e1a7
...
...
@@ -315,6 +315,7 @@ jobjectArray Java_org_videolan_vlc_android_LibVLC_readMediaMeta(JNIEnv *env,
const
char
*
psz_mrl
=
(
*
env
)
->
GetStringUTFChars
(
env
,
mrl
,
&
isCopy
);
libvlc_media_t
*
m
=
libvlc_media_new_path
((
libvlc_instance_t
*
)
instance
,
psz_mrl
);
(
*
env
)
->
ReleaseStringUTFChars
(
env
,
mrl
,
psz_mrl
);
libvlc_media_parse
(
m
);
int
i
;
...
...
Write
Preview
Supports
Markdown
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