Fix tree.c static allocation detection during buffer move

Change-Id: I170177ff331f33961863eff0dd3ba5c570a3961d
1 file changed