diff options
author | rubidium <rubidium@openttd.org> | 2009-12-13 21:36:10 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-12-13 21:36:10 +0000 |
commit | 8b9a2218de1e291f3de5702c0ad2ddfdb1acb000 (patch) | |
tree | 405d83cc1afaa3e65866ffe070d0301ea038a979 /src | |
parent | e0393a3de1b8c7dddd7b5b86d17202469810e209 (diff) | |
download | openttd-8b9a2218de1e291f3de5702c0ad2ddfdb1acb000.tar.xz |
(svn r18493) -Fix: don't access something after deleting it
Diffstat (limited to 'src')
-rw-r--r-- | src/network/network_content_gui.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/network_content_gui.cpp b/src/network/network_content_gui.cpp index a65544748..b91aa02f2 100644 --- a/src/network/network_content_gui.cpp +++ b/src/network/network_content_gui.cpp @@ -751,6 +751,7 @@ public: if (!success) { ShowErrorMessage(STR_CONTENT_ERROR_COULD_NOT_CONNECT, INVALID_STRING_ID, 0, 0); delete this; + return; } this->InvalidateData(); |