plugins/xz/xz.c
/* Free up the per-connection handle. */
Free up the per-connection handle.
Free up the per - connection handle .
static void
xz_close (void *handle)
{
  struct xz_handle *h = handle;
  blkcache_stats stats;
  blkcache_get_stats (h->c, &stats);
  nbdkit_debug ("cache: hits = %zu, misses = %zu", stats.hits, stats.misses);
  xzfile_close (h->xz);
  free_blkcache (h->c);
  free (h);
}
static void xz_close ( void * handle ) { struct xz_handle * h = handle ; blkcache_stats stats ; blkcache_get_stats ( h -> c , & stats ) ; nbdkit_debug ( " " , stats . hits , stats . misses ) ; xzfile_close ( h -> xz ) ; free_blkcache ( h -> c ) ; free ( h ) ; }
Free up the per-connection handle.
Free up the per - connection handle .