aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stream.c b/src/stream.c
index 21c99c7..33b2170 100644
--- a/src/stream.c
+++ b/src/stream.c
@@ -272,7 +272,7 @@ osmo_stream_cli_set_read_cb(struct osmo_stream_cli *cli,
void osmo_stream_cli_destroy(struct osmo_stream_cli *cli)
{
- talloc_free(link);
+ talloc_free(cli);
}
int osmo_stream_cli_open(struct osmo_stream_cli *cli)