Skip to content

Commit

Permalink
Fix double freeing bug in fdb event handler (sonic-net#525)
Browse files Browse the repository at this point in the history
  • Loading branch information
pavel-shirshov authored and lguohan committed Jun 22, 2018
1 parent 98ad0bd commit 27b29e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions orchagent/fdborch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -352,9 +352,9 @@ void FdbOrch::doTask(NotificationConsumer& consumer)
}

this->update(fdbevent[i].event_type, &fdbevent[i].fdb_entry, oid);

sai_deserialize_free_fdb_event_ntf(count, fdbevent);
}

sai_deserialize_free_fdb_event_ntf(count, fdbevent);
}
}

Expand Down

0 comments on commit 27b29e3

Please sign in to comment.