Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
Kdenlive
Commits
46bedb4d
Commit
46bedb4d
authored
Jan 22, 2022
by
Julius Künzel
Browse files
Fix recently introduced memory leak
parent
c110185c
Pipeline
#127138
passed with stage
in 5 minutes and 38 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/pythoninterfaces/abstractpythoninterface.cpp
View file @
46bedb4d
...
...
@@ -114,6 +114,12 @@ AbstractPythonInterface::AbstractPythonInterface(QObject *parent)
addScript
(
QStringLiteral
(
"checkpackages.py"
));
}
AbstractPythonInterface
::~
AbstractPythonInterface
()
{
delete
m_versions
;
delete
m_scripts
;
}
bool
AbstractPythonInterface
::
checkSetup
()
{
if
(
!
(
m_pyExec
.
isEmpty
()
||
m_pip3Exec
.
isEmpty
()
||
m_scripts
->
values
().
contains
(
QStringLiteral
(
""
))))
{
...
...
src/pythoninterfaces/abstractpythoninterface.h
View file @
46bedb4d
...
...
@@ -22,6 +22,7 @@ public:
shown to the user.
@returns wether all checks succeeded.
*/
~
AbstractPythonInterface
()
override
;
bool
checkSetup
();
/** @brief Check if all dependencies are installed.
If everything is okay dependenciesAvailable() will be emitted,
...
...
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