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
Gautam Chitnis
web-ui-redesign
Commits
5b324033
Commit
5b324033
authored
Dec 23, 2007
by
Pierre d'Herbemont
Browse files
control/media_descriptor.c: Prevent an input_item memleak.
parent
e809656e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/control/media_descriptor.c
View file @
5b324033
...
...
@@ -295,6 +295,9 @@ libvlc_media_descriptor_t * libvlc_media_descriptor_new(
p_md
=
libvlc_media_descriptor_new_from_input_item
(
p_instance
,
p_input_item
,
p_e
);
/* The p_input_item is retained in libvlc_media_descriptor_new_from_input_item */
vlc_gc_decref
(
p_input_item
);
return
p_md
;
}
...
...
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