I am using S60 3rd FP2 v1.1. I have followed the following example to download sis file by RHttpDownloadMgr:
http://wiki.forum.nokia.com/index.ph...ogrammatically
However, when I quit the application, ALLOC error dialog popup.
I have tested my code in following way:
- Start the app, quit the app, no error.
- Start the app, create download, quit the app, no error.
- Start the app, create download, start download, cancel in the file type dialog, no error.
- Start the app, create download, start download, cancel in the middle of downloading, ALLOC error popup.
- Start the app, create download, start download, complete the download, quit the app, ALLOC error popup.
I have checked the following to ensure no memory leak:
- Close the RHttpDownloadMgr in destructor.
- delete the CDownloadMgrUiLibRegistry in destructor.
Moreover, I found that the download manager in the emulator browser does not have that issue.
Have I missed something to avoid the ALLOC error? Thanks.




