aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@gnumonks.org>2012-08-16 00:42:10 +0200
committerPablo Neira Ayuso <pablo@gnumonks.org>2012-08-16 00:43:08 +0200
commit1584058c8e365349dade58a0690442f4645a1b9b (patch)
treebe684933e4076311dfa62cf395a356a026bfbfda /src
parentb247d6df8161eb3dfd9f99002b541b72e2b1ac9f (diff)
channel: abis-ipa-server: stream layer already destroy the socket for us
This reverts 373d1e6540c64ab09a974c71deeb1eeacd68d5bf.
Diffstat (limited to 'src')
-rw-r--r--src/channel/abis_ipa_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/channel/abis_ipa_server.c b/src/channel/abis_ipa_server.c
index e4fac1c..e26ae99 100644
--- a/src/channel/abis_ipa_server.c
+++ b/src/channel/abis_ipa_server.c
@@ -467,7 +467,7 @@ static int read_cb(struct osmo_stream_srv *conn, int type)
if (ipa->unit != NULL)
abis_ipa_put(ipa);
- osmo_stream_srv_destroy(conn);
+ /* ... the stream socket releases this connection for us */
return 0;
}