fix big memory leak in E1 TS2 handling

This commit is contained in:
Harald Welte 2008-12-29 06:06:35 +00:00
parent a024cb7314
commit e27bb34223
1 changed files with 3 additions and 0 deletions

View File

@ -300,6 +300,9 @@ static int handle_tsX_read(struct bsc_fd *bfd)
DEBUGP(DMIB, "got unexpected 0x%x prim\n", hh->prim);
break;
}
/* FIXME: don't free it if we still hold reference! */
msgb_free(msg);
return ret;
}