bcmdhd: nv_logger: fix memory leak
authorBibhay Ranjan <bibhayr@nvidia.com>
Thu, 25 Aug 2016 06:56:14 +0000 (11:56 +0530)
committermobile promotions <svcmobile_promotions@nvidia.com>
Sat, 3 Sep 2016 01:09:58 +0000 (18:09 -0700)
commitc556093a6b295f77f2fd1999facd55313c136efd
tree57ee3c08de1ff2d75c0c2e1ab3745ac409c3b0fe
parentf3b1d330acb7d1fa804e47e0254a6cb10f6920af
bcmdhd: nv_logger: fix memory leak

-call kfree for internal structures.
-increase the size of the timestamp
 array to accomodate the complete time
 format.
-add timestamp size too while calculating
 total buffer size.

Bug 200231581

Change-Id: I64bb1ad7f5959f659653469101b2e230f302132f
Signed-off-by: Bibhay Ranjan <bibhayr@nvidia.com>
Reviewed-on: http://git-master/r/1207551
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>
drivers/net/wireless/bcmdhd/nv_logger.c
drivers/net/wireless/bcmdhd/nv_logger.h