BQ: Handle buffer allocation failure am: 0a06809457
am: 4131d90855

Change-Id: I6c5e70424c55416171bbdc6bb7a0ae0f7062ea22