diff options
| author | Olivier Dugeon <olivier.dugeon@orange.com> | 2022-08-05 16:00:48 +0200 |
|---|---|---|
| committer | Olivier Dugeon <olivier.dugeon@orange.com> | 2022-09-02 15:04:35 +0200 |
| commit | 1fa6385040df57f2d175cd628d7775af2f6c7561 (patch) | |
| tree | b4f9542aff901c9c65d32cdb8aa570ab35d79f21 /lib/zlog.c | |
| parent | 1011b31a1c72f0fd92a508c486406f3287a6c8e4 (diff) | |
isisd: Correct Valgrind errors
Runing most of isisd tests with --valgrind-memleaks give many memory errors.
This is due to the way isisd is stopped: performing a "no router isis XXX"
through CLI solves most of them. Indeed, isis_finish() doesn't call
isis_area_destroy() leaving many allocated memory unfreed.
This patch adds call to appropriate delete function or XFREE() when necessary to
properly free all alocated memory before terminating isisd.
Signed-off-by: Olivier Dugeon <olivier.dugeon@orange.com>
Diffstat (limited to 'lib/zlog.c')
0 files changed, 0 insertions, 0 deletions
