diff options
author | Simon Rettberg | 2015-10-06 11:51:36 +0200 |
---|---|---|
committer | Simon Rettberg | 2015-10-06 11:51:36 +0200 |
commit | 84b93481dda10f6376d80ff16fae2c7c627df0be (patch) | |
tree | 476ba965fa6660d9995b14f99216d00815015ff5 | |
parent | [printergui] Add simple error-message displaying command line option (diff) | |
download | printergui-84b93481dda10f6376d80ff16fae2c7c627df0be.tar.gz printergui-84b93481dda10f6376d80ff16fae2c7c627df0be.tar.xz printergui-84b93481dda10f6376d80ff16fae2c7c627df0be.zip |
[printergui] Fix memory leak
-rw-r--r-- | src/maingui/printergui.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/maingui/printergui.cpp b/src/maingui/printergui.cpp index 672bd38..b4f1473 100644 --- a/src/maingui/printergui.cpp +++ b/src/maingui/printergui.cpp @@ -193,6 +193,7 @@ void PrinterGui::on_printerList_currentItemChanged(QTreeWidgetItem *current, QTr } } } + ppdClose(ppd); } else { qDebug() << "ppd is null"<< dest->name << cupsLastErrorString(); } |