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
6b038c29
Commit
6b038c29
authored
Feb 03, 2010
by
Jean-Philippe André
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix memory leaks in extensions
parent
b24c7589
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
modules/misc/lua/extension.c
modules/misc/lua/extension.c
+6
-0
No files found.
modules/misc/lua/extension.c
View file @
6b038c29
...
@@ -170,6 +170,11 @@ void Close_Extension( vlc_object_t *p_this )
...
@@ -170,6 +170,11 @@ void Close_Extension( vlc_object_t *p_this )
lua_close
(
p_ext
->
p_sys
->
L
);
lua_close
(
p_ext
->
p_sys
->
L
);
free
(
p_ext
->
psz_name
);
free
(
p_ext
->
psz_name
);
free
(
p_ext
->
psz_title
);
free
(
p_ext
->
psz_title
);
free
(
p_ext
->
psz_author
);
free
(
p_ext
->
psz_description
);
free
(
p_ext
->
psz_shortdescription
);
free
(
p_ext
->
psz_url
);
free
(
p_ext
->
psz_version
);
vlc_mutex_destroy
(
&
p_ext
->
p_sys
->
running_lock
);
vlc_mutex_destroy
(
&
p_ext
->
p_sys
->
running_lock
);
vlc_mutex_destroy
(
&
p_ext
->
p_sys
->
command_lock
);
vlc_mutex_destroy
(
&
p_ext
->
p_sys
->
command_lock
);
...
@@ -416,6 +421,7 @@ exit:
...
@@ -416,6 +421,7 @@ exit:
free
(
p_ext
->
psz_url
);
free
(
p_ext
->
psz_url
);
free
(
p_ext
->
psz_author
);
free
(
p_ext
->
psz_author
);
free
(
p_ext
->
psz_description
);
free
(
p_ext
->
psz_description
);
free
(
p_ext
->
psz_shortdescription
);
free
(
p_ext
->
psz_version
);
free
(
p_ext
->
psz_version
);
vlc_mutex_destroy
(
&
p_ext
->
p_sys
->
command_lock
);
vlc_mutex_destroy
(
&
p_ext
->
p_sys
->
command_lock
);
vlc_mutex_destroy
(
&
p_ext
->
p_sys
->
running_lock
);
vlc_mutex_destroy
(
&
p_ext
->
p_sys
->
running_lock
);
...
...
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