src/main: Fix double free str
authorTedd Ho-Jeong An <tedd.an@intel.com>
Fri, 21 May 2021 17:04:07 +0000 (10:04 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 11 Mar 2022 13:38:35 +0000 (19:08 +0530)
commit80315c90295c4e0e104c7365c98bd804c6408c88
tree5a541697bf84363f265f30140506f593ecf50a96
parent5a7d688ac36955b0a477ecaa0633b271717c8e44
src/main: Fix double free str

This patch fixes the double free the string.
The string variable is always freed within its if statement so no need
to free it again in the end.

Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
src/main.c