consider memory leak issue 52/305252/1
authordyamy-lee <dyamy.lee@samsung.com>
Tue, 30 Jan 2024 09:39:31 +0000 (18:39 +0900)
committerdyamy-lee <dyamy.lee@samsung.com>
Tue, 30 Jan 2024 09:39:31 +0000 (18:39 +0900)
commit2f825471fcbd0f27eb40656c42e9d562389dd09d
treec0eb794d8984e4e564f5bfd7de618b40a266fa95
parenteca8e585773b6dfbf30ad4078f54b2d6b2c76df2
consider memory leak issue

There is no case about temp->default_lang is not null.
However, it couldn't sure that if the function's logic is changed.
So, this added the free() for considering if temp->default_lang is not null case

Change-Id: I226c248853301051c5444593d1297ef03a24ac98
server/ttsd_engine_agent.c