Merge change Ib7a6c434 into eclair

* changes:
  Fix some leaks.  This fixes the major malloc memory leak in allApps.  Still tracking some much more minor issues.