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
c56d27fd
Commit
c56d27fd
authored
Jan 12, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
misc/variables.c: Make sure we don't use an unitialized var. (Fix a free to a non-malloced ptr).
parent
1894d87b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
src/misc/variables.c
src/misc/variables.c
+1
-0
No files found.
src/misc/variables.c
View file @
c56d27fd
...
@@ -1043,6 +1043,7 @@ void __var_OptionParse( vlc_object_t *p_obj, const char *psz_option )
...
@@ -1043,6 +1043,7 @@ void __var_OptionParse( vlc_object_t *p_obj, const char *psz_option )
int
i_name_len
,
i_type
;
int
i_name_len
,
i_type
;
vlc_bool_t
b_isno
=
VLC_FALSE
;
vlc_bool_t
b_isno
=
VLC_FALSE
;
vlc_value_t
val
;
vlc_value_t
val
;
val
.
psz_string
=
NULL
;
if
(
psz_value
)
i_name_len
=
psz_value
-
psz_option
;
if
(
psz_value
)
i_name_len
=
psz_value
-
psz_option
;
else
i_name_len
=
strlen
(
psz_option
);
else
i_name_len
=
strlen
(
psz_option
);
...
...
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