Commit b1a16cb
Free module list nodes during shutdown
- free the GList container allocated via add_module() during exit_modules()
- reset module_head to NULL after g_list_free() to avoid stale pointer reuse
- keep module->exit callbacks unchanged while eliminating module list node leak
Signed-off-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: MyungJoo Ham <myungjoo.ham@samsung.com>1 parent f8ec13a commit b1a16cb
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
81 | 84 | | |
0 commit comments