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
a19acf0b
Commit
a19acf0b
authored
Jan 14, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4: memory leak
parent
1d2eb888
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
modules/gui/qt4/dialogs_provider.cpp
modules/gui/qt4/dialogs_provider.cpp
+2
-5
No files found.
modules/gui/qt4/dialogs_provider.cpp
View file @
a19acf0b
...
@@ -548,12 +548,9 @@ void DialogsProvider::streamingDialog( QWidget *parent, QString mrl,
...
@@ -548,12 +548,9 @@ void DialogsProvider::streamingDialog( QWidget *parent, QString mrl,
if
(
s
->
exec
()
==
QDialog
::
Accepted
)
if
(
s
->
exec
()
==
QDialog
::
Accepted
)
{
{
msg_Dbg
(
p_intf
,
"Sout mrl %s"
,
qta
(
s
->
getMrl
()
)
);
const
char
*
psz_option
=
qtu
(
s
->
getMrl
()
);
/* Just do it */
int
i_len
=
strlen
(
qtu
(
s
->
getMrl
()
)
)
+
10
;
char
*
psz_option
=
(
char
*
)
malloc
(
i_len
);
snprintf
(
psz_option
,
i_len
-
1
,
"%s"
,
qtu
(
s
->
getMrl
()
)
);
msg_Dbg
(
p_intf
,
"Sout mrl %s"
,
psz_option
);
playlist_AddExt
(
THEPL
,
qtu
(
mrl
),
"Streaming"
,
playlist_AddExt
(
THEPL
,
qtu
(
mrl
),
"Streaming"
,
PLAYLIST_APPEND
|
PLAYLIST_GO
,
PLAYLIST_END
,
PLAYLIST_APPEND
|
PLAYLIST_GO
,
PLAYLIST_END
,
-
1
,
&
psz_option
,
1
,
true
,
pl_Unlocked
);
-
1
,
&
psz_option
,
1
,
true
,
pl_Unlocked
);
...
...
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