From f20286b9d55784bd48cc1c55449540146995a60c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 9 Apr 2018 01:20:39 +0300 Subject: Disable for now removing upload object. because it cant be removed from SDL thread callback because use after free, --- src/progs/manaplus/actions/actions.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- cgit v1.2.3-60-g2f50