Change-Id: Ife0f4b4bcb3068aff2e5456f1b8b8ebc759c4e12
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
return AUTOFILL_ERROR_OPERATION_FAILED;
}
ret = rpc_port_proxy_list_string_foreach(app_id_list, callback, user_data);
+ rpc_port_proxy_list_string_destroy(app_id_list);
+
if (ret != RPC_PORT_ERROR_NONE) {
LOGW("[ERROR] Failed to get list. err = %d", ret);
return AUTOFILL_ERROR_OPERATION_FAILED;
}
- rpc_port_proxy_list_string_destroy(app_id_list);
-
return AUTOFILL_ERROR_NONE;
}