Fix memory leak 23/258923/1
authorHwankyu Jhun <h.jhun@samsung.com>
Fri, 28 May 2021 01:16:17 +0000 (10:16 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Fri, 28 May 2021 01:16:17 +0000 (10:16 +0900)
Change-Id: Ie8b90dccac49723bb066b16293a62940161e46af
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/status.c

index e8d683b..eb6a669 100644 (file)
@@ -446,6 +446,7 @@ API int aul_status_update_v2(int status)
 
        ret = aul_sock_send_bundle(AUL_UTIL_PID, getuid(), APP_STATUS_UPDATE_V2,
                        b, AUL_SOCK_NONE);
+       bundle_free(b);
        if (ret != 0) {
                _E("Failed to update app status. error(%d)", ret);
                return aul_error_convert(ret);