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
d3a53d25
Commit
d3a53d25
authored
Sep 16, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Apparent memleak (ipkiss should review perhaps?)
parent
1d6c495f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
modules/gui/skins2/src/vlcproc.cpp
modules/gui/skins2/src/vlcproc.cpp
+3
-2
No files found.
modules/gui/skins2/src/vlcproc.cpp
View file @
d3a53d25
...
...
@@ -250,7 +250,7 @@ void VlcProc::CmdManage::execute()
void
VlcProc
::
refreshAudio
()
{
char
*
pFilters
=
NULL
;
char
*
pFilters
;
// Check if the audio output has changed
aout_instance_t
*
pAout
=
(
aout_instance_t
*
)
vlc_object_find
(
getIntf
(),
...
...
@@ -270,7 +270,7 @@ void VlcProc::refreshAudio()
}
}
// Get the audio filters
pFilters
=
var_GetString
(
pAout
,
"audio-filter"
);
pFilters
=
var_Get
NonEmpty
String
(
pAout
,
"audio-filter"
);
vlc_object_release
(
pAout
);
}
else
...
...
@@ -292,6 +292,7 @@ void VlcProc::refreshAudio()
// Refresh the equalizer variable
VarBoolImpl
*
pVarEqualizer
=
(
VarBoolImpl
*
)
m_cVarEqualizer
.
get
();
pVarEqualizer
->
set
(
pFilters
&&
strstr
(
pFilters
,
"equalizer"
)
);
free
(
pFilters
);
}
void
VlcProc
::
refreshPlaylist
()
...
...
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