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
02b581e1
Commit
02b581e1
authored
May 27, 2009
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx intf: Fix a strdup memleak
parent
a0790f88
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
modules/gui/macosx/controls.m
modules/gui/macosx/controls.m
+1
-1
No files found.
modules/gui/macosx/controls.m
View file @
02b581e1
...
@@ -705,7 +705,7 @@
...
@@ -705,7 +705,7 @@
/* Get the descriptive name of the variable */
/* Get the descriptive name of the variable */
var_Change
(
p_object
,
psz_variable
,
VLC_VAR_GETTEXT
,
&
text
,
NULL
);
var_Change
(
p_object
,
psz_variable
,
VLC_VAR_GETTEXT
,
&
text
,
NULL
);
[
o_mi
setTitle
:
[[
VLCMain
sharedInstance
]
localizedString
:
text
.
psz_string
?
[
o_mi
setTitle
:
[[
VLCMain
sharedInstance
]
localizedString
:
text
.
psz_string
?
text
.
psz_string
:
strdup
(
psz_variable
)
]];
text
.
psz_string
:
psz_variable
]];
var_Get
(
p_object
,
psz_variable
,
&
val
);
var_Get
(
p_object
,
psz_variable
,
&
val
);
if
(
i_type
&
VLC_VAR_HASCHOICE
)
if
(
i_type
&
VLC_VAR_HASCHOICE
)
...
...
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