halapi: common: Fix unneeded free operation 87/270187/2 accepted/tizen/unified/20220209.131808 submit/tizen/20220208.024112
authorChanwoo Choi <cw00.choi@samsung.com>
Wed, 26 Jan 2022 08:53:46 +0000 (17:53 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Tue, 8 Feb 2022 02:07:15 +0000 (02:07 +0000)
Remove the unneeded free operation because don't allocate
the dynamic memory to 'info->abi_versions'.

Change-Id: I2fc146b7e2ddd03be4c390a832c5a1e0de786b3a
Suggested-by: Taemin Yeom <taemin.yeom@samsung.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
src/hal-api-conf.c

index 7bc5d55..c79e7de 100644 (file)
@@ -52,7 +52,6 @@ do { \
                SAFE_FREE_AND_NULL(info->library_name);
                SAFE_FREE_AND_NULL(info->library_name_64bit);
                SAFE_FREE_AND_NULL(info->symbol_name);
-               SAFE_FREE_AND_NULL(info->abi_versions);
                SAFE_FREE_AND_NULL(info);
        }
 }