commit | 0f352a6f2293534fa31bfe81cf85ea7dbe317481 | [log] [tgz] |
---|---|---|
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | Thu Jul 16 18:23:33 2015 +0200 |
committer | Jacob Erlbeck <jerlbeck@sysmocom.de> | Thu Jul 16 19:24:16 2015 +0200 |
tree | b24d23bf6ba9123531b74d7f7b74c155776bb2d2 | |
parent | bf9042203d02298040e5289c86238961c154a3d4 [diff] |
alloc/test: Free the TBF if the recursion has failed Currently if both an uplink and a downlink TBF are to be allocated by alloc_tbfs() and the second allocation fails, the first TBF is not freed. This commit changes the recursive function to free the TBF if the ms variable has been changed to NULL. Sponsored-by: On-Waves ehf