Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
07730341
Commit
07730341
authored
Jun 04, 2009
by
dt
Browse files
Fix memory leak in $$system() calls from .pro files
Reviewed-By: ossi
parent
c13d7116
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/shared/proparser/profileevaluator.cpp
View file @
07730341
...
...
@@ -56,8 +56,10 @@
#ifdef Q_OS_WIN32
#define QT_POPEN _popen
#define QT_PCLOSE _pclose
#else
#define QT_POPEN popen
#define QT_PCLOSE pclose
#endif
QT_BEGIN_NAMESPACE
...
...
@@ -1626,6 +1628,8 @@ QStringList ProFileEvaluator::Private::evaluateExpandFunction(const QString &fun
output
+=
QLatin1String
(
buff
);
}
ret
+=
split_value_list
(
output
);
if
(
proc
)
QT_PCLOSE
(
proc
);
}
}
break
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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