mirror of https://github.com/ARMmbed/mbed-os.git
d513587806
The equeue_chain function is supposed to unchain the event queue from whatever queue it is chained to when passed a null target. Internally, this is accomplished by just calling equeue_background with null and letting the previously registered update function clean up the chaining. However, equeue_chain did not appropriately check for null, causing it to unnecessarily allocate memory and leaving the update function in a bad state. Fixed with a simple null check. |
||
---|---|---|
.. | ||
prof.c | ||
tests.c |