diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-04-09 01:20:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-04-09 01:20:39 +0300 |
commit | f20286b9d55784bd48cc1c55449540146995a60c (patch) | |
tree | c461d96c51c33adaf7a2b84b71ce1946a88a57df /src/progs | |
parent | 067120f8c778570b794a6717fd847876df606da1 (diff) | |
download | plus-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.cpp | 3 |
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; } |