aboutsummaryrefslogtreecommitdiffstats
path: root/src/stream.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stream.c')
-rw-r--r--src/stream.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/stream.c b/src/stream.c
index 46c1046..c87f999 100644
--- a/src/stream.c
+++ b/src/stream.c
@@ -548,11 +548,9 @@ int osmo_stream_server_conn_recv(struct osmo_stream_server_conn *conn,
LOGP(DLINP, LOGL_ERROR,
"lost connection with server\n");
}
- osmo_stream_server_conn_destroy(conn);
return ret;
} else if (ret == 0) {
LOGP(DLINP, LOGL_ERROR, "connection closed with server\n");
- osmo_stream_server_conn_destroy(conn);
return ret;
}
msgb_put(msg, ret);