OSDN Git Service

android/tester-main.c:Fixed Memory leak
authorAnchit Narang <anchit.n@samsung.com>
Wed, 22 Jul 2015 04:27:23 +0000 (09:57 +0530)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 27 Jul 2015 07:21:01 +0000 (10:21 +0300)
commit5eaaa14b5b9c8f1a83d291439f4dcef60a5bfeca
tree5e40007133ba7e832452a3fbbfbcfb8875a7070e
parentcc3975c2689ccfe0d52f5afe86595fff76013592
android/tester-main.c:Fixed Memory leak

This patch fixes memory leak issues in various functions
by allocating memory to  structure step only after intial
checks are performed as control was returning from these
checks without freeing memory allocated to it.
android/tester-main.c