msm8974/hwc: Free all MdpPipeInfos on reset

The reset code was only freeing MdpPipeInfos if numLayers>0, but on
every frame it was being called with numLayers==0 and then again with
numLayers>0. Since reset also memsets the structure to zero, it was
leaking the MdpPipeInfos on every frame.

Bug: 16601370
Change-Id: I7a95bc2e533455c8a65c5a0c498b99d87c858fe0
1 file changed
tree: 8a26943ba58bbf799aa4bbe5a98c47f629daf7f6
  1. Android.mk
  2. msm8084/
  3. msm8226/
  4. msm8960/
  5. msm8974/