Make sure the transaction is cleaned up also in the error case.
Make sure the transaction is cleaned up also in the error case.

svn path=/branches/kdepim/proko2/kdepim/; revision=513844

lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi