From b36fd0b912bb175ac6237f2ec450bf561680a0ad Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Tue, 22 Dec 2015 23:40:47 +0100 Subject: osmo_stream_cli_destroy: call talloc_free on right object 'link' turns out to be a really bad variable name, as the symbol resolves to the global link(2)... --- src/stream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3