OSDN Git Service

coresight-tpdm: fix multiple datasets allocation issue
authorShashank Mittal <mittals@codeaurora.org>
Wed, 31 Aug 2016 01:07:30 +0000 (18:07 -0700)
committerGerrit - the friendly Code Review server <code-review@localhost>
Tue, 28 Feb 2017 09:15:36 +0000 (01:15 -0800)
commit3f8c010896c7f8ab5f4fc634497408146b42cb40
treeb97008e82de73759382cf7bfe1d04f2e1239f753
parent10a55a587418b3c37a57b4beae8337432b6ff3c0
coresight-tpdm: fix multiple datasets allocation issue

TPDM driver is allocating memory for TPDM datasets at two places which
leads to a memory leak issue.

Fix this issue by getting rid of one allocation call.

Change-Id: I9ac26cabe09dcbabeafd5a14aa85fc59a966d4dd
Signed-off-by: Saranya Chidura <schidura@codeaurora.org>
drivers/hwtracing/coresight/coresight-tpdm.c