Commits on Sep 19, 2022

  1. ascli_refresh_cache: fix NULL pointer dereference

    The command `appstreamcli refresh-cache --cachepath /tmp/cache`
    segfaults. In this code path, `ret` (initialized to `FALSE`) is not
    updated when `as_pool_load` returns successfully and sets the `error`
    pointer to NULL. Then the code tries to print `error->message`.
    r-ricci committed Sep 19, 2022