Commit 0595888b authored by Greg Kaiser's avatar Greg Kaiser Committed by Miao Wang
Browse files

Fix nullptr check

We want to check the contents that 'buffer' is pointing to,
instead of 'buffer' itself (which would have crashed on the
previous line if it was nullptr).

Test: TreeHugger
Change-Id: I1bd7dd13d0ed34509c04bf3911fd9ba606ca0845
Merged-In: I1bd7dd13d0ed34509c04bf3911fd9ba606ca0845
(cherry picked from commit d618f210)
parent 6717281c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment