in-band: Fix memory leak in get_remote_mac().
authorBen Pfaff <blp@nicira.com>
Tue, 6 Apr 2010 19:40:11 +0000 (12:40 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 20 Apr 2010 18:01:44 +0000 (11:01 -0700)
commitdc6ddf68b20d802f01cd4a82aca29f442b5c4097
tree221b4de70c9aa04e08ae082da7566d563d74f895
parent25bfb758931fbb1c53ac351caed8756ea516b734
in-band: Fix memory leak in get_remote_mac().

If the call to netdev_open_default() failed then next_hop_dev was not
freed, but it should be.
ofproto/in-band.c