summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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;
}