Fix memory leak when 0-memcpy quirk is used

o minor change to the original patch by Andreas:
  call restorePatchedDataPointer() method only if kAvoidMemcopyInputRecordingFrames is turned on

Change-Id: Idf3710e6f759d37d28e866613f98d39215722cb9
2 files changed
tree: 49bc805b33eabf2cc39bb5c39d780d050bce3347
  1. camera/
  2. cmds/
  3. drm/
  4. include/
  5. media/
  6. services/