# HG changeset patch # User teknolog # Date 1272896310 -3600 # Node ID ea2321db6cb65bf13befc261d671b01b83e6f032 # Parent bcf91cd34ddd50d0f2b5e9a6d3f0df079d2243bb Forgot to close file handle on failed download. Fixed now. Also fix for SQLite static library. diff -r bcf91cd34ddd -r ea2321db6cb6 application/group/Podcast.mmp --- a/application/group/Podcast.mmp Sat May 01 14:42:23 2010 +0100 +++ b/application/group/Podcast.mmp Mon May 03 15:18:30 2010 +0100 @@ -65,8 +65,7 @@ END STATICLIBRARY PodCastEngine.lib -//STATICLIBRARY sqlite_podcatcher.lib -LIBRARY sqlite3.lib +STATICLIBRARY sqlite_podcatcher.lib LIBRARY mediaclientaudio.lib LIBRARY inetprotutil.lib LIBRARY xmlframework.lib diff -r bcf91cd34ddd -r ea2321db6cb6 application/sis/podcatcher_udeb.sis Binary file application/sis/podcatcher_udeb.sis has changed diff -r bcf91cd34ddd -r ea2321db6cb6 application/sis/podcatcher_udeb_signed.sis Binary file application/sis/podcatcher_udeb_signed.sis has changed diff -r bcf91cd34ddd -r ea2321db6cb6 engine/group/bld.inf --- a/engine/group/bld.inf Sat May 01 14:42:23 2010 +0100 +++ b/engine/group/bld.inf Mon May 03 15:18:30 2010 +0100 @@ -27,8 +27,8 @@ PRJ_EXPORTS // export pre-build sqlite ..\sqlite\sqlite_podcatcher_winscw.lib \epoc32\release\winscw\udeb\sqlite_podcatcher.lib -..\sqlite\sqlite_podcatcher_gcce.lib \epoc32\release\gcce\udeb\sqlite_podcatcher.lib -..\sqlite\sqlite_podcatcher_gcce.lib \epoc32\release\gcce\urel\sqlite_podcatcher.lib +..\sqlite\sqlite_podcatcher_gcce.lib \epoc32\release\armv5\udeb\sqlite_podcatcher.lib +..\sqlite\sqlite_podcatcher_gcce.lib \epoc32\release\armv5\urel\sqlite_podcatcher.lib ..\config\podcatcher.sqlite \epoc32\winscw\c\private\A0009D00\podcatcher.sqlite.template ..\config\defaultfeeds.xml \epoc32\winscw\c\private\A0009D00\defaultfeeds.xml diff -r bcf91cd34ddd -r ea2321db6cb6 engine/src/HttpEventHandler.cpp --- a/engine/src/HttpEventHandler.cpp Sat May 01 14:42:23 2010 +0100 +++ b/engine/src/HttpEventHandler.cpp Mon May 03 15:18:30 2010 +0100 @@ -193,12 +193,14 @@ case THTTPEvent::ESucceeded: { DP("Transaction Successful"); + iRespBodyFile.Close(); aTransaction.Close(); iHttpClient->ClientRequestCompleteL(KErrNone); } break; case THTTPEvent::EFailed: { DP("Transaction Failed"); + iRespBodyFile.Close(); aTransaction.Close(); if(iLastStatusCode == HTTPStatus::EOk || iLastStatusCode == HTTPStatus::ECreated || iLastStatusCode == HTTPStatus::EAccepted) @@ -222,6 +224,7 @@ // close off the transaction if it's an error if (aEvent.iStatus < 0) { + iRespBodyFile.Close(); aTransaction.Close(); iHttpClient->ClientRequestCompleteL(aEvent.iStatus); }