aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/logview/LogViewWindow.h
diff options
context:
space:
mode:
authorGravatar IceN9ne2017-03-09 20:21:26 -0500
committerGravatar IceN9ne2017-03-09 20:21:26 -0500
commit111cb9c64b7e7c14f0d95f3920ea88ba68327ae2 (patch)
treef4adf52a543db97c907c3a08197d876237595f4d /src/modules/logview/LogViewWindow.h
parentrijndael module: Fix potential memory leak and invalid length check (diff)
downloadKVIrc-111cb9c64b7e7c14f0d95f3920ea88ba68327ae2.tar.gz
KVIrc-111cb9c64b7e7c14f0d95f3920ea88ba68327ae2.tar.bz2
KVIrc-111cb9c64b7e7c14f0d95f3920ea88ba68327ae2.zip
logview module: Fix memory leak in logview export
Diffstat (limited to 'src/modules/logview/LogViewWindow.h')
-rw-r--r--src/modules/logview/LogViewWindow.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/logview/LogViewWindow.h b/src/modules/logview/LogViewWindow.h
index 971166b95..c2e2ed850 100644
--- a/src/modules/logview/LogViewWindow.h
+++ b/src/modules/logview/LogViewWindow.h
@@ -113,7 +113,7 @@ public:
* \param pszFile The buffer to store the exported log name
* \return void
*/
- void createLog(LogFile * pLog, int iId, QString * pszFile = 0);
+ void createLog(LogFile * pLog, int iId, QString * pszFile = nullptr);
protected:
void exportLog(int iId);