From 8b9a2218de1e291f3de5702c0ad2ddfdb1acb000 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 13 Dec 2009 21:36:10 +0000 Subject: (svn r18493) -Fix: don't access something after deleting it --- src/network/network_content_gui.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/network') 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(); -- cgit v1.2.3-70-g09d2