diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-10-09 11:25:37 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-10-09 13:45:12 +0100 |
| commit | 4d9f56686380aed5eb3e17ab9e720df57a17f079 (patch) | |
| tree | bac559b5562d7839b9de596a7340165626f424f9 /src | |
| parent | 49cbd002a4b681d8d2c091b0053ea7fe9430d94a (diff) | |
Fix memory leak.
Diffstat (limited to 'src')
| -rw-r--r-- | src/tools/dcpomatic_server.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tools/dcpomatic_server.cc b/src/tools/dcpomatic_server.cc index e7579f74b..37fcc34cd 100644 --- a/src/tools/dcpomatic_server.cc +++ b/src/tools/dcpomatic_server.cc @@ -161,7 +161,9 @@ public: private: void status () { - _status = new StatusDialog (); + if (!_status) { + _status = new StatusDialog (); + } _status->Show (); } |
