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 3079128 commit 2af1e18
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ovn/northd/ovn-northd.c
Expand Up @@ -393,6 +393,7 @@ free_chassis_queueid(struct hmap *set, struct sbrec_chassis *chassis,
if (uuid_equals(chassis_uuid, &node->chassis_uuid)
&& node->queue_id == queue_id) {
hmap_remove(set, &node->key_node);
free(node);
break;
}
}
Expand Down

0 comments on commit 2af1e18

Please sign in to comment.