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
973a412d
Commit
973a412d
authored
Jan 17, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Memory leaks
parent
3e606132
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
src/libvlc.c
src/libvlc.c
+6
-1
No files found.
src/libvlc.c
View file @
973a412d
...
...
@@ -430,6 +430,7 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
if
(
b_exit
)
{
free
(
priv
->
psz_configfile
);
module_EndBank
(
p_libvlc
);
return
i_ret
;
}
...
...
@@ -540,6 +541,7 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
if
(
b_exit
)
{
free
(
priv
->
psz_configfile
);
module_EndBank
(
p_libvlc
);
return
i_ret
;
}
...
...
@@ -567,6 +569,7 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
"that they are valid.
\n
"
);
PauseConsole
();
#endif
free
(
priv
->
psz_configfile
);
module_EndBank
(
p_libvlc
);
return
VLC_EGENERIC
;
}
...
...
@@ -719,6 +722,7 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
"-dontprintthatone
\n
"
"(keyword 'all' to applies to all objects)
\n
"
);
free
(
psz_verbose_objects
);
/* FIXME: leaks!!!! */
return
VLC_EGENERIC
;
}
}
...
...
@@ -792,7 +796,7 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
if
(
!
p_libvlc
->
p_stats
)
{
vlc_object_release
(
p_libvlc
);
return
VLC_ENOMEM
;
return
VLC_ENOMEM
;
/* FIXME: leaks */
}
vlc_mutex_init
(
&
p_libvlc
->
p_stats
->
lock
);
priv
->
p_stats_computer
=
NULL
;
...
...
@@ -823,6 +827,7 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
module_unneed
(
p_libvlc
,
priv
->
p_memcpy_module
);
}
module_EndBank
(
p_libvlc
);
free
(
priv
->
psz_configfile
);
return
VLC_EGENERIC
;
}
playlist_Activate
(
p_playlist
);
...
...
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