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
c4c75ec7
Commit
c4c75ec7
authored
Jun 25, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4: small memory leak
parent
fbb21844
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
modules/gui/qt4/qt4.cpp
modules/gui/qt4/qt4.cpp
+6
-0
No files found.
modules/gui/qt4/qt4.cpp
View file @
c4c75ec7
...
@@ -403,8 +403,14 @@ static void Init( intf_thread_t *p_intf )
...
@@ -403,8 +403,14 @@ static void Init( intf_thread_t *p_intf )
/* And quit */
/* And quit */
windowLock
.
lock
();
var_Get
(
p_intf
,
"window_widget"
,
&
val
);
if
(
val
.
p_address
)
delete
(
QPointer
<
MainInterface
>
*
)
val
.
p_address
;
val
.
p_address
=
NULL
;
val
.
p_address
=
NULL
;
var_Set
(
p_intf
,
"window_widget"
,
val
);
var_Set
(
p_intf
,
"window_widget"
,
val
);
windowLock
.
unlock
();
/* Destroy first the main interface because it is connected to some slots
/* Destroy first the main interface because it is connected to some slots
in the MainInputManager */
in the MainInputManager */
delete
p_intf
->
p_sys
->
p_mi
;
delete
p_intf
->
p_sys
->
p_mi
;
...
...
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