osmo-pcu/tests/alloc
Jacob Erlbeck 0f352a6f22 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
2015-07-16 19:24:16 +02:00
..
AllocTest.cpp alloc/test: Free the TBF if the recursion has failed 2015-07-16 19:24:16 +02:00
AllocTest.err alloc: Add 'dynamic' allocation algorithm 2015-07-16 19:24:15 +02:00
AllocTest.ok alloc: Use a separate usage computation for algo A 2015-07-16 19:24:16 +02:00