Merge change I36176536 into eclair

* changes:
  Fix ref counting bug that could cause memory leak in allApps.