]> git.puffer.fish Git - matthieu/frr.git/commit
From: kamatchi soundaram <kamatchi@tdd.sj.nec.com>
authorpaul <paul>
Wed, 4 Jun 2003 02:28:45 +0000 (02:28 +0000)
committerpaul <paul>
Wed, 4 Jun 2003 02:28:45 +0000 (02:28 +0000)
commitcfc959b8f5f7ea1185fb3de2e4064704d62336f0
treec6fec4531d632cb516a243e425a61cc61a92e81a
parentec1ca63c188c9dc2518b0f78033e623105ac4f25
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));
ospfd/ospf_interface.c