cleanup_config: Free all member before freeing structure 81/318081/3 accepted/tizen_unified_x_asan accepted/tizen/unified/20250116.113508 accepted/tizen/unified/x/20250116.091009 accepted/tizen/unified/x/asan/20250211.003254
authorUnsung Lee <unsung.lee@samsung.com>
Mon, 13 Jan 2025 05:19:09 +0000 (14:19 +0900)
committerUnsung Lee <unsung.lee@samsung.com>
Tue, 14 Jan 2025 11:43:57 +0000 (20:43 +0900)
commita8d85427bea792a5e5e811b7901506215eab6008
tree1b8b47830c0fd55581156483a8fa367759b83a7e
parent671ef0e2b3b99a9beb33cf5d3ce6fe98c13dcd1a
cleanup_config: Free all member before freeing structure

Free all members of cleanup_config before freeing this structure.
Previously, the structure is freed at error situation without freeing the member.

Change-Id: Ibb9218abb4a1e3913a8cd8ace0d2306382a8bc7a
Signed-off-by: Unsung Lee <unsung.lee@samsung.com>
src/storage/cleanup_config.c