Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
b83cc66f
Commit
b83cc66f
authored
Oct 29, 2008
by
ivoire
Browse files
Recent: don't leak just for fun.
parent
5d085ee8
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/gui/qt4/recents.cpp
View file @
b83cc66f
...
...
@@ -44,9 +44,9 @@ RecentsMRL::RecentsMRL( intf_thread_t *_p_intf ) : p_intf( _p_intf )
playMRL
(
const
QString
&
)
);
isActive
=
config_GetInt
(
p_intf
,
"qt-recentplay"
);
filter
=
new
QRegExp
(
qfu
(
config_GetPsz
(
p_intf
,
"qt-recentplay-filter"
)
),
Qt
::
CaseInsensitive
);
char
*
psz_tmp
=
config_GetPsz
(
p_intf
,
"qt-recentplay-filter"
);
filter
=
new
QRegExp
(
psz_tmp
,
Qt
::
CaseInsensitive
);
free
(
psz_tmp
);
load
();
if
(
!
isActive
)
clear
();
...
...
@@ -54,6 +54,7 @@ RecentsMRL::RecentsMRL( intf_thread_t *_p_intf ) : p_intf( _p_intf )
RecentsMRL
::~
RecentsMRL
()
{
delete
filter
;
delete
stack
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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