Add missing memory free logic 62/303862/2
authorChanggyu Choi <changyu.choi@samsung.com>
Mon, 8 Jan 2024 01:41:18 +0000 (10:41 +0900)
committerChanggyu Choi <changyu.choi@samsung.com>
Mon, 8 Jan 2024 01:58:53 +0000 (10:58 +0900)
Change-Id: I58e12a7b928a6a9e738ef0502d43942bd5f02068
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
src/modules/splash-screen/src/splash-screen.c

index 6807ce9..a295af3 100644 (file)
@@ -1104,4 +1104,9 @@ EXPORT void AMD_MOD_FINI(void)
 
        if (splash_image_table)
                g_hash_table_destroy(splash_image_table);
+
+       if (default_image_list) {
+               g_list_free_full(default_image_list,
+                               (GDestroyNotify)__destroy_image_info);
+       }
 }