Skip to content

Commit

Permalink
ovn-northd: Fix memory leak in free_chassis_queueid().
Browse files Browse the repository at this point in the history
Found by inspection.

Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Numan Siddique <nusiddiq@redhat.com>
  • Loading branch information
blp committed Oct 31, 2018
1 parent 99b7cf4 commit 23ec0bc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ovn/northd/ovn-northd.c
Expand Up @@ -375,6 +375,7 @@ free_chassis_queueid(struct hmap *set, struct sbrec_chassis *chassis,
if (uuid_equals(&chassis->header_.uuid, &node->chassis_uuid)
&& node->queue_id == queue_id) {
hmap_remove(set, &node->key_node);
free(node);
break;
}
}
Expand Down

0 comments on commit 23ec0bc

Please sign in to comment.