Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
f2c81482
Commit
f2c81482
authored
Apr 06, 2011
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MacOSX prefs: fix memory leak.
parent
3d3cacbf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
modules/gui/macosx/prefs_widgets.m
modules/gui/macosx/prefs_widgets.m
+5
-4
No files found.
modules/gui/macosx/prefs_widgets.m
View file @
f2c81482
...
...
@@ -1377,13 +1377,13 @@ o_textfield = [[[NSSecureTextField alloc] initWithFrame: s_rc] retain]; \
if
(
module_is_main
(
p_parser
)
)
continue
;
unsigned
int
confsize
,
unused
;
module_config_get
(
p_parser
,
&
confsize
);
module_config_
t
*
p_config
=
module_config_
get
(
p_parser
,
&
confsize
);
for
(
i
=
0
;
i
<
confsize
;
i
++
)
{
module_config_t
*
p_
config
=
module_config_get
(
p_parser
,
&
unused
)
+
i
;
module_config_t
*
p_
item
=
p_config
+
i
;
/* Hack: required subcategory is stored in i_min */
if
(
p_
config
->
i_type
==
CONFIG_SUBCATEGORY
&&
p_
config
->
value
.
i
==
p_item
->
min
.
i
)
if
(
p_
item
->
i_type
==
CONFIG_SUBCATEGORY
&&
p_
item
->
value
.
i
==
p_item
->
min
.
i
)
{
NSString
*
o_description
=
[[
VLCMain
sharedInstance
]
localizedString:
module_get_name
(
p_parser
,
TRUE
)];
...
...
@@ -1394,6 +1394,7 @@ o_textfield = [[[NSSecureTextField alloc] initWithFrame: s_rc] retain]; \
}
}
}
module_config_free
(
p_config
);
}
}
module_list_free
(
p_list
);
...
...
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