mirror of https://github.com/PentHertz/srsLTE.git
set byte_buffer ptr to null after deallocating from pool
This commit is contained in:
parent
75a546cff1
commit
c5ffdfe8c7
|
@ -164,6 +164,7 @@ public:
|
|||
}
|
||||
b->reset();
|
||||
pool->deallocate(b);
|
||||
b = NULL;
|
||||
}
|
||||
private:
|
||||
buffer_pool<byte_buffer_t> *pool;
|
||||
|
|
Loading…
Reference in New Issue