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
2b068d3a
Commit
2b068d3a
authored
Jan 03, 2010
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zsh: fix some others memory leaks.
parent
ef0bcc79
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
extras/analyser/zsh.cpp
extras/analyser/zsh.cpp
+7
-5
No files found.
extras/analyser/zsh.cpp
View file @
2b068d3a
...
...
@@ -154,6 +154,7 @@ void ParseModules( mumap &mods, mcmap &mods2 )
while
(
i_items
++
<
p_module
->
i_config_items
&&
p_item
++
);
}
module_list_free
(
p_list
);
}
void
PrintModuleList
(
mumap
&
mods
,
mcmap
&
mods2
)
...
...
@@ -428,10 +429,12 @@ void PrintOption( char *psz_option, char i_short, char *psz_exclusive,
strchr
(
psz_longtext
,
'('
)
)
psz_longtext
=
psz_text
;
if
(
i_short
)
{
if
(
!
psz_exclusive
)
psz_exclusive
=
strdup
(
""
);
else
asprintf
(
&
psz_exclusive
,
" %s"
,
psz_exclusive
);
printf
(
"
\"
(-%c%s)--%s%s[%s]"
,
i_short
,
psz_exclusive
,
psz_option
,
psz_args
?
"="
:
""
,
psz_text
);
if
(
!
psz_exclusive
)
printf
(
"
\"
(-%c)--%s%s[%s]"
,
i_short
,
psz_option
,
psz_args
?
"="
:
""
,
psz_text
);
else
printf
(
"
\"
(-%c%s)--%s%s[%s]"
,
i_short
,
psz_exclusive
,
psz_option
,
psz_args
?
"="
:
""
,
psz_text
);
if
(
psz_args
)
printf
(
":%s:%s
\"\\\n
"
,
psz_longtext
,
psz_args
);
else
...
...
@@ -456,7 +459,6 @@ void PrintOption( char *psz_option, char i_short, char *psz_exclusive,
printf
(
":%s:%s
\"\\\n
"
,
psz_longtext
,
psz_args
);
else
printf
(
"
\"\\\n
"
);
}
}
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