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
Steve Lhomme
VLC
Commits
eea56f04
Commit
eea56f04
authored
Dec 13, 2013
by
Tristan Matthews
Browse files
libvlc: don't use string after free
parent
55c3f249
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/libvlc.c
View file @
eea56f04
...
...
@@ -328,12 +328,12 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
{
dbus_message_unref
(
msg
);
msg
=
NULL
;
free
(
mrl
);
continue
;
}
free
(
mrl
);
if
(
unlikely
(
msg
==
NULL
)
)
continue
;
msg_Dbg
(
p_libvlc
,
"Adds %s to the running media player"
,
mrl
);
free
(
mrl
);
/* send message and get a handle for a reply */
DBusMessage
*
reply
=
dbus_connection_send_with_reply_and_block
(
conn
,
msg
,
-
1
,
...
...
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