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
9cda1945
Commit
9cda1945
authored
Dec 12, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix double free
parent
61817460
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
modules/gui/qt4/components/complete_preferences.cpp
modules/gui/qt4/components/complete_preferences.cpp
+3
-6
No files found.
modules/gui/qt4/components/complete_preferences.cpp
View file @
9cda1945
...
...
@@ -86,9 +86,7 @@ PrefsTree::PrefsTree( intf_thread_t *_p_intf, QWidget *_parent ) :
PrefsItemData
*
data
=
NULL
;
QTreeWidgetItem
*
current_item
=
NULL
;
unsigned
confsize
;
module_config_t
*
p_config
;
p_config
=
module_GetConfig
(
p_module
,
&
confsize
);
module_config_t
*
const
p_config
=
module_GetConfig
(
p_module
,
&
confsize
);
for
(
size_t
i
=
0
;
i
<
confsize
;
i
++
)
{
...
...
@@ -193,7 +191,7 @@ PrefsTree::PrefsTree( intf_thread_t *_p_intf, QWidget *_parent ) :
unsigned
i_subcategory
=
0
,
i_category
=
0
,
confsize
;
bool
b_options
=
false
;
module_config_t
*
p_config
=
module_GetConfig
(
p_module
,
&
confsize
);
module_config_t
*
const
p_config
=
module_GetConfig
(
p_module
,
&
confsize
);
for
(
size_t
i
=
0
;
i
<
confsize
;
i
++
)
{
...
...
@@ -346,7 +344,7 @@ AdvPrefsPanel::AdvPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
}
unsigned
confsize
;
module_config_t
*
p_config
=
module_GetConfig
(
p_module
,
&
confsize
),
module_config_t
*
const
p_config
=
module_GetConfig
(
p_module
,
&
confsize
),
*
p_item
=
p_config
,
*
p_end
=
p_config
+
confsize
;
...
...
@@ -363,7 +361,6 @@ AdvPrefsPanel::AdvPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
p_item
++
;
}
}
module_PutConfig
(
p_config
);
/* Widgets now */
global_layout
=
new
QVBoxLayout
();
...
...
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