Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
ca219348
Commit
ca219348
authored
Apr 01, 2005
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Yet another leak
parent
74753c48
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
modules/gui/wxwindows/playlist.cpp
modules/gui/wxwindows/playlist.cpp
+4
-1
No files found.
modules/gui/wxwindows/playlist.cpp
View file @
ca219348
...
...
@@ -402,6 +402,9 @@ Playlist::Playlist( intf_thread_t *_p_intf, wxWindow *p_parent ):
Playlist
::~
Playlist
()
{
if
(
pp_sds
!=
NULL
)
free
(
pp_sds
);
playlist_t
*
p_playlist
=
(
playlist_t
*
)
vlc_object_find
(
p_intf
,
VLC_OBJECT_PLAYLIST
,
FIND_ANYWHERE
);
...
...
@@ -1394,7 +1397,7 @@ wxMenu *Playlist::SDMenu()
if
(
!
strcmp
(
p_parser
->
psz_capability
,
"services_discovery"
)
)
i_number
++
;
}
if
(
i_number
)
pp_sds
=
(
char
**
)
malloc
(
i_number
*
sizeof
(
void
*
)
);
if
(
i_number
)
pp_sds
=
(
char
**
)
calloc
(
i_number
,
sizeof
(
void
*
)
);
i_number
=
0
;
for
(
int
i_index
=
0
;
i_index
<
p_list
->
i_count
;
i_index
++
)
...
...
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