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; }