Commit 19c8d0e
committed
Input: ff-core - make use of __free() cleanup facility
Annotate allocated memory with __free(kfree) to simplify the code and
make sure memory is released appropriately.
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Link: https://lore.kernel.org/r/20241107071538.195340-3-dmitry.torokhov@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>1 parent 3d11c09 commit 19c8d0e
1 file changed
Lines changed: 7 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
290 | 290 | | |
291 | 291 | | |
292 | 292 | | |
293 | | - | |
294 | | - | |
295 | 293 | | |
296 | 294 | | |
297 | 295 | | |
| |||
304 | 302 | | |
305 | 303 | | |
306 | 304 | | |
307 | | - | |
308 | | - | |
309 | | - | |
310 | | - | |
311 | | - | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
312 | 308 | | |
313 | 309 | | |
314 | 310 | | |
315 | | - | |
316 | | - | |
317 | | - | |
318 | | - | |
| 311 | + | |
| 312 | + | |
319 | 313 | | |
320 | | - | |
321 | 314 | | |
322 | 315 | | |
323 | 316 | | |
324 | 317 | | |
325 | | - | |
326 | 318 | | |
327 | 319 | | |
328 | 320 | | |
| |||
335 | 327 | | |
336 | 328 | | |
337 | 329 | | |
| 330 | + | |
| 331 | + | |
338 | 332 | | |
339 | 333 | | |
340 | 334 | | |
| |||
0 commit comments