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
c57caf76
Commit
c57caf76
authored
Apr 29, 2010
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4: fix a memleak in the extensions menu.
parent
bf294d3d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
modules/gui/qt4/extensions_manager.cpp
modules/gui/qt4/extensions_manager.cpp
+3
-0
modules/misc/lua/extension.c
modules/misc/lua/extension.c
+1
-1
No files found.
modules/gui/qt4/extensions_manager.cpp
View file @
c57caf76
...
...
@@ -171,12 +171,15 @@ void ExtensionsManager::menu( QMenu *current )
menuMapper
->
setMapping
(
action
,
MENU_MAP
(
pi_ids
[
i
],
i_ext
)
);
CONNECT
(
action
,
triggered
(),
menuMapper
,
map
()
);
free
(
ppsz_titles
[
i
]
);
}
if
(
!
i_num
)
{
action
=
submenu
->
addAction
(
qtr
(
"Empty"
)
);
action
->
setEnabled
(
false
);
}
free
(
ppsz_titles
);
free
(
pi_ids
);
}
else
{
...
...
modules/misc/lua/extension.c
View file @
c57caf76
...
...
@@ -605,7 +605,7 @@ int lua_ExtensionWidgetClick( extensions_manager_t *p_mgr,
* @param p_mgr
* @param p_ext
* @param pppsz_titles Pointer to NULL. All strings must be freed by the caller
* @param ppi_ids Pointer to NULL. Must be feed by the caller.
* @param ppi_ids Pointer to NULL. Must be f
r
eed by the caller.
* @note This function is allowed to run in the UI thread. This means
* that it MUST respond very fast.
* @todo Remove the menu() hook and provide a new function vlc.set_menu()
...
...
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