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)
Loading
Please sign in to comment