diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2014-09-21 22:28:19 +0300 |
---|---|---|
committer | Orgad Shaneh <orgads@gmail.com> | 2014-09-23 11:00:47 +0200 |
commit | 72c33cbadd004fb9c04fa22909dcb52f855a26c2 (patch) | |
tree | d4fee9902d7df58ec05cc3b18828db2136bbd2ae /src/plugins/git/changeselectiondialog.h | |
parent | 3f3554eb130a4af322a9ec3f30d7080df3075639 (diff) |
Git: Fix potential heap use after free
Closing the dialog before the process terminates might lead to this.
Task-number: QTCREATORBUG-13075
Change-Id: I3b6ffcca010eb356b14d87f2a7d62090c158faba
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Diffstat (limited to 'src/plugins/git/changeselectiondialog.h')
-rw-r--r-- | src/plugins/git/changeselectiondialog.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/git/changeselectiondialog.h b/src/plugins/git/changeselectiondialog.h index e6919464a1..e9c5c8ff7b 100644 --- a/src/plugins/git/changeselectiondialog.h +++ b/src/plugins/git/changeselectiondialog.h @@ -85,6 +85,7 @@ private slots: private: void enableButtons(bool b); + void terminateProcess(); Ui::ChangeSelectionDialog *m_ui; |