From eeaccfc1d6d37fb2515a6ad4c0b235732541c3cc Mon Sep 17 00:00:00 2001 From: Tommi Rantala Date: Mon, 26 Nov 2012 04:16:44 +0000 Subject: [PATCH] --- yaml --- r: 336080 b: refs/heads/master c: c3b2c2581988d304127c2aa218430b5fca88ce56 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/net/irda/irttp.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index e3427ab0a090..5f79f2261e3f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: ba695af067f9cadfec84457ac06b44e3fa849b15 +refs/heads/master: c3b2c2581988d304127c2aa218430b5fca88ce56 diff --git a/trunk/net/irda/irttp.c b/trunk/net/irda/irttp.c index 1002e3396f72..ae43c62f9045 100644 --- a/trunk/net/irda/irttp.c +++ b/trunk/net/irda/irttp.c @@ -441,6 +441,7 @@ struct tsap_cb *irttp_open_tsap(__u8 stsap_sel, int credit, notify_t *notify) lsap = irlmp_open_lsap(stsap_sel, &ttp_notify, 0); if (lsap == NULL) { IRDA_DEBUG(0, "%s: unable to allocate LSAP!!\n", __func__); + __irttp_close_tsap(self); return NULL; }