timer->refcnt is allowed to be NULL, in which case the timer's expired() method may end up freeing the timer object. Discovered using valgrind. Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
|
||
148 |
|
148 |
|
149 |
|
149 |
|
150 |
|
150 |
|
|
151 |
|
|
151 |
|
152 |
|
152 |
|
153 |
|
153 |
|
154 |
|
|
|
||
169 |
|
170 |
|
170 |
|
171 |
|
171 |
|
172 |
|
|
173 |
|
|
172 |
|
174 |
|
173 |
|
|
|
|
175 |
|
|
174 |
|
176 |
|
175 |
|
177 |
|
176 |
|
178 |
|