mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 22:43:50 +01:00
If `register_interrupt` somehow fails, we leak the already created POSIX timer by returning immediately. Fix this by calling `timer_delete` before returning. Signed-off-by: Armin Wolf <W_Armin@gmx.de>