Commit a1bd23d
committed
mfu: avoid free elem_t->ref w/o detail
The elem_t->ref attribute is assigned only when the element is
initialized with detail. Skip mfu_free() when the structure is
initializd without detail.
Signed-off-by: Rémi Palancher <remi@rackslab.io>1 parent 530594f commit a1bd23d
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
404 | 404 | | |
405 | 405 | | |
406 | 406 | | |
407 | | - | |
| 407 | + | |
| 408 | + | |
408 | 409 | | |
409 | 410 | | |
410 | 411 | | |
| |||
0 commit comments