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
ee17d6bb
Commit
ee17d6bb
authored
Apr 12, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: Fix some input_item_t leaks.
parent
1a8d3db6
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
0 deletions
+4
-0
modules/gui/macosx/applescript.m
modules/gui/macosx/applescript.m
+1
-0
modules/gui/macosx/playlist.m
modules/gui/macosx/playlist.m
+2
-0
modules/gui/macosx/wizard.m
modules/gui/macosx/wizard.m
+1
-0
No files found.
modules/gui/macosx/applescript.m
View file @
ee17d6bb
...
...
@@ -61,6 +61,7 @@
playlist_AddInput
(
p_playlist
,
p_input
,
PLAYLIST_INSERT
,
PLAYLIST_END
,
VLC_TRUE
,
VLC_FALSE
);
vlc_gc_decref
(
p_input
);
o_url
=
[
NSURL
fileURLWithPath
:
o_urlString
];
if
(
o_url
!=
nil
)
...
...
modules/gui/macosx/playlist.m
View file @
ee17d6bb
...
...
@@ -1020,6 +1020,7 @@
p_item
=
playlist_ItemGetByInput
(
p_playlist
,
p_input
,
VLC_TRUE
);
playlist_Control
(
p_playlist
,
PLAYLIST_SKIP
,
VLC_TRUE
,
p_item
);
}
vlc_gc_decref
(
p_input
);
}
[
self
playlistUpdated
];
vlc_object_release
(
p_playlist
);
...
...
@@ -1063,6 +1064,7 @@
p_item
=
playlist_ItemGetByInput
(
p_playlist
,
p_input
,
VLC_TRUE
);
playlist_Control
(
p_playlist
,
PLAYLIST_SKIP
,
VLC_TRUE
,
p_item
);
}
vlc_gc_decref
(
p_input
);
}
[
self
playlistUpdated
];
vlc_object_release
(
p_playlist
);
...
...
modules/gui/macosx/wizard.m
View file @
ee17d6bb
...
...
@@ -1304,6 +1304,7 @@ static VLCWizard *_o_sharedInstance = nil;
p_item
);
}
vlc_gc_decref
(
p_input
);
x
+=
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