Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
358afe66
Commit
358afe66
authored
Dec 16, 2008
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
analyser/zsh: fix memleak (#2303)
parent
01b080ab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
extras/analyser/zsh.cpp
extras/analyser/zsh.cpp
+2
-2
No files found.
extras/analyser/zsh.cpp
View file @
358afe66
...
@@ -209,7 +209,7 @@ void PrintModuleList( libvlc_int_t *p_libvlc, mumap &mods, mcmap &mods2 )
...
@@ -209,7 +209,7 @@ void PrintModuleList( libvlc_int_t *p_libvlc, mumap &mods, mcmap &mods2 )
void
ParseOption
(
module_config_t
*
p_item
,
mumap
&
mods
,
mcmap
&
mods2
)
void
ParseOption
(
module_config_t
*
p_item
,
mumap
&
mods
,
mcmap
&
mods2
)
{
{
char
*
psz_arguments
=
strdup
(
""
)
;
char
*
psz_arguments
=
NULL
;
char
*
psz_exclusive
;
char
*
psz_exclusive
;
char
*
psz_option
;
char
*
psz_option
;
char
*
psz_name
;
char
*
psz_name
;
...
@@ -361,7 +361,6 @@ void ParseOption( module_config_t *p_item, mumap &mods, mcmap &mods2 )
...
@@ -361,7 +361,6 @@ void ParseOption( module_config_t *p_item, mumap &mods, mcmap &mods2 )
case
CONFIG_ITEM_BOOL
:
case
CONFIG_ITEM_BOOL
:
// p_control = new BoolConfigControl( p_this, p_item, parent );
// p_control = new BoolConfigControl( p_this, p_item, parent );
psz_arguments
=
NULL
;
asprintf
(
&
psz_exclusive
,
"--no%s --no-%s"
,
p_item
->
psz_name
,
asprintf
(
&
psz_exclusive
,
"--no%s --no-%s"
,
p_item
->
psz_name
,
p_item
->
psz_name
);
p_item
->
psz_name
);
psz_name
=
DUP
(
p_item
->
psz_name
);
psz_name
=
DUP
(
p_item
->
psz_name
);
...
@@ -412,6 +411,7 @@ void ParseOption( module_config_t *p_item, mumap &mods, mcmap &mods2 )
...
@@ -412,6 +411,7 @@ void ParseOption( module_config_t *p_item, mumap &mods, mcmap &mods2 )
free
(
psz_name
);
free
(
psz_name
);
free
(
psz_text
);
free
(
psz_text
);
free
(
psz_longtext
);
free
(
psz_longtext
);
free
(
psz_arguments
);
}
}
void
PrintOption
(
char
*
psz_option
,
char
i_short
,
char
*
psz_exclusive
,
void
PrintOption
(
char
*
psz_option
,
char
i_short
,
char
*
psz_exclusive
,
...
...
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