Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
2f6b105a
Commit
2f6b105a
authored
Jul 02, 2015
by
Hannes Domani
Committed by
Rémi Denis-Courmont
Jul 02, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
config: fix memory leak
Signed-off-by:
Rémi Denis-Courmont
<
remi@remlab.net
>
parent
8e083895
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
src/config/core.c
src/config/core.c
+2
-0
No files found.
src/config/core.c
View file @
2f6b105a
...
@@ -387,6 +387,7 @@ static ssize_t config_ListModules (const char *cap, char ***restrict values,
...
@@ -387,6 +387,7 @@ static ssize_t config_ListModules (const char *cap, char ***restrict values,
if
(
n
<=
0
)
if
(
n
<=
0
)
{
{
*
values
=
*
texts
=
NULL
;
*
values
=
*
texts
=
NULL
;
module_list_free
(
list
);
return
n
;
return
n
;
}
}
...
@@ -408,6 +409,7 @@ static ssize_t config_ListModules (const char *cap, char ***restrict values,
...
@@ -408,6 +409,7 @@ static ssize_t config_ListModules (const char *cap, char ***restrict values,
*
values
=
vals
;
*
values
=
vals
;
*
texts
=
txts
;
*
texts
=
txts
;
module_list_free
(
list
);
return
n
+
2
;
return
n
+
2
;
}
}
...
...
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