projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49cbd00
)
Fix memory leak.
author
Carl Hetherington
<cth@carlh.net>
Fri, 9 Oct 2015 10:25:37 +0000
(11:25 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Fri, 9 Oct 2015 12:45:12 +0000
(13:45 +0100)
src/tools/dcpomatic_server.cc
patch
|
blob
|
history
diff --git
a/src/tools/dcpomatic_server.cc
b/src/tools/dcpomatic_server.cc
index e7579f74b166648227c0e53bfc74396909a3a3a2..37fcc34cdadc91603f6feb52e3cb8c2ebfe76490 100644
(file)
--- 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 ();
}