fix potential memory leak

use delete before return

Change-Id: I5449ad90bb6910f057bd825b722c9803a7343c34
Merge branch 'jb-ras-mr1' of github.com:rascarlo/platform_frameworks_base into jb-ras-mr1
AudioPackage5 contains duplicated bad-case filenames

Conflicts:

	data/sounds/AllAudio.mk

Change-Id: Ie046a9faff5b1b71b6a09ec06aee679be909112a