Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
f1136a8c
Commit
f1136a8c
authored
Aug 15, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: Fix a couple of object leak in the equalizer.
parent
3ff7b962
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
modules/gui/macosx/equalizer.m
modules/gui/macosx/equalizer.m
+7
-3
No files found.
modules/gui/macosx/equalizer.m
View file @
f1136a8c
...
...
@@ -52,8 +52,10 @@ static void ChangeFiltersString( intf_thread_t *p_intf,
vlc_object_t
*
p_object
=
vlc_object_find
(
p_intf
,
VLC_OBJECT_AOUT
,
FIND_ANYWHERE
);
aout_instance_t
*
p_aout
=
(
aout_instance_t
*
)
p_object
;
if
(
p_object
==
NULL
)
if
(
!
p_object
)
{
p_object
=
(
vlc_object_t
*
)
pl_Yield
(
p_intf
);
}
psz_string
=
var_GetNonEmptyString
(
p_object
,
"audio-filter"
);
...
...
@@ -72,6 +74,7 @@ static void ChangeFiltersString( intf_thread_t *p_intf,
}
else
{
vlc_object_release
(
p_object
);
return
;
}
}
...
...
@@ -90,8 +93,9 @@ static void ChangeFiltersString( intf_thread_t *p_intf,
}
else
{
free
(
psz_string
);
return
;
free
(
psz_string
);
vlc_object_release
(
p_object
);
return
;
}
}
...
...
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