diff options
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-07-16 18:23:33 +0200 |
---|---|---|
committer | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-07-16 19:24:16 +0200 |
commit | 0f352a6f2293534fa31bfe81cf85ea7dbe317481 (patch) | |
tree | b24d23bf6ba9123531b74d7f7b74c155776bb2d2 /git-version-gen | |
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
Diffstat (limited to 'git-version-gen')
0 files changed, 0 insertions, 0 deletions