Commit: 95f254e69972acaf4be4688aa8affcfa9b2cee19
Parent: f17d3a2c3b0d4a8869ff297f53d55d1cdd524421
Author: Anchit Narang <anchit.n@samsung.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2015-07-29 20:46:28
Tree: 4cfcf7e62bf0b28a5aaafd6c25315f65bd7ec9d7

tools/l2test:Fixed memory leak Removed dynamic allocation of filename by strdup. Instead filename is directly pointing to the argv element. Closed the file before returning from do_send function.

Diffstat

M tools/l2test.c | 6 ++++- -

1 files changed, 4 insertions(+), 2 deletions(-)

View Full Diff | Patch