---
name: "relay_destroy_channel"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/relay_destroy_channel"
---

# relay\_destroy\_channel(9)

free the channel struct

## NAME

relay\_destroy\_channel - free the channel struct

## SYNOPSIS

**void relay\_destroy\_channel(struct kref \*** *kref***);**

## ARGUMENTS

*kref*

target kernel reference that contains the relay channel

## DESCRIPTION

Should only be called from **kref\_put**.

## COPYRIGHT
