summaryrefslogtreecommitdiff
path: root/src/progs
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-04-09 01:20:39 +0300
committerAndrei Karas <akaras@inbox.ru>2018-04-09 01:20:39 +0300
commitf20286b9d55784bd48cc1c55449540146995a60c (patch)
treec461d96c51c33adaf7a2b84b71ce1946a88a57df /src/progs
parent067120f8c778570b794a6717fd847876df606da1 (diff)
downloadplus-f20286b9d55784bd48cc1c55449540146995a60c.tar.gz
plus-f20286b9d55784bd48cc1c55449540146995a60c.tar.bz2
plus-f20286b9d55784bd48cc1c55449540146995a60c.tar.xz
plus-f20286b9d55784bd48cc1c55449540146995a60c.zip
Disable for now removing upload object.
because it cant be removed from SDL thread callback because use after free,
Diffstat (limited to 'src/progs')
-rw-r--r--src/progs/manaplus/actions/actions.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/progs/manaplus/actions/actions.cpp b/src/progs/manaplus/actions/actions.cpp
index 928f7b7b1..8d82a70ce 100644
--- a/src/progs/manaplus/actions/actions.cpp
+++ b/src/progs/manaplus/actions/actions.cpp
@@ -185,7 +185,8 @@ static int uploadUpdate(void *ptr,
}
}
}
- delete2(info->upload);
+// delete2(info->upload);
+ info->upload = nullptr;
delete info;
return 0;
}