Remove dangling ptr in rsdAllocationInit

Possible dangling ptr in exceptional case.

Change-Id: I4f5353b7709b215d4d79748c60668fdfadaf048f
Merge commit 'ed419f37009ff5375293c198268c381460efa0f2' into jb-mr1