X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fbfd.c;h=d46f99219632e9911f4e4d6c172a6f29bbc9f479;hb=8917f72cbb04fb32dc29f93475bcd2de3011d442;hp=1860cb6dd38485aa71d9d31b0c3c532881ee2bd6;hpb=6a36690c200a08dfbd5648269e3e1ab837d1b726;p=sliver-openvswitch.git diff --git a/lib/bfd.c b/lib/bfd.c index 1860cb6dd..d46f99219 100644 --- a/lib/bfd.c +++ b/lib/bfd.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2013 Nicira, Inc. +/* Copyright (c) 2013, 2014 Nicira, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -469,7 +469,6 @@ bfd_unref(struct bfd *bfd) OVS_EXCLUDED(mutex) ovs_mutex_lock(&mutex); hmap_remove(all_bfds, &bfd->node); netdev_close(bfd->netdev); - ovs_refcount_destroy(&bfd->ref_cnt); free(bfd->name); free(bfd); ovs_mutex_unlock(&mutex);