diff options
author | paul <paul> | 2003-06-04 02:28:45 +0000 |
---|---|---|
committer | paul <paul> | 2003-06-04 02:28:45 +0000 |
commit | cfc959b8f5f7ea1185fb3de2e4064704d62336f0 (patch) | |
tree | c6fec4531d632cb516a243e425a61cc61a92e81a /ports/files | |
parent | ec1ca63c188c9dc2518b0f78033e623105ac4f25 (diff) |
From: kamatchi soundaram <kamatchi@tdd.sj.nec.com>
Subject: [zebra 19263] Another memory leak!! is zebra OSPF
This memory leak gets into picture whenever any interface goes down.
Problem found and desctription: Whenever the interface goes down, the
"def_params" (member of ospf_if_info) structure memory is not freed.
Fix made: added the following line to free the "def_params" memory of
ospf_if_info before calling the "XFREE(MTYPE_OSPF_IF_INFO, ifp->info);"
The added line is:
ospf_del_if_params ((struct ospf_if_params *) IF_DEF_PARAMS (ifp));
Diffstat (limited to 'ports/files')
0 files changed, 0 insertions, 0 deletions