diff --git a/src/states_screens/dialogs/addons_loading.cpp b/src/states_screens/dialogs/addons_loading.cpp index 3ced2ce5c..c3e9f8a73 100644 --- a/src/states_screens/dialogs/addons_loading.cpp +++ b/src/states_screens/dialogs/addons_loading.cpp @@ -260,6 +260,8 @@ void AddonsLoading::startDownload() */ void AddonsLoading::doInstall() { + delete m_download_request; + m_download_request = NULL; bool error=false; if(!m_addon.isInstalled() || m_addon.needsUpdate()) {