Fix wrong implementation 44/241144/1
authorHwankyu Jhun <h.jhun@samsung.com>
Tue, 18 Aug 2020 04:43:54 +0000 (13:43 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Tue, 18 Aug 2020 04:43:54 +0000 (13:43 +0900)
- Use bundle_free() to release bundle object

Change-Id: I0c2e24f1c7e7d524e8aadaafc4b43fac50fdddb3
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
syspopup/syspopup_wayland.c

index 7254c13..138e33b 100644 (file)
@@ -138,7 +138,7 @@ int wl_syspopup_reset(bundle *b)
 
        _syspopup_reset_timeout(sp, info);
        if (sp->dupped_bundle)
-               free(sp->dupped_bundle);
+               bundle_free(sp->dupped_bundle);
 
        sp->dupped_bundle = bundle_dup(b);