diag: Enable flushing of mdlog table entries for multi logging mode

Currently in case of multi logging mode, there is a possibility of
accessing freed up buffer address after reallocation due to not flushing
mdlog entry table. The patch enable flushing of mdlog table entries in
case of multi logging mode before reallocation of data buffer.

CRs-Fixed: 2151723
Change-Id: I9aa44aea199c28d890a3b0ce38e9eb4f6e2fdd02
Signed-off-by: Hardik Arya <harya@codeaurora.org>
2 files changed