ofproto: Do not call ->rule_destruct() if ->rule_construct() failed.
authorBen Pfaff <blp@nicira.com>
Fri, 30 Aug 2013 20:59:37 +0000 (13:59 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 10 Sep 2013 20:02:40 +0000 (13:02 -0700)
commit5c84ce6741382877e43798579b535d14ddc9808c
tree79d328d8f812eb359ad3c20b97c3ee96d73f6060
parent2758da116d204fe51c20801a2714aef1f78d5922
ofproto: Do not call ->rule_destruct() if ->rule_construct() failed.

Found by inspection.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Ethan Jackson <ethan@nicira.com>
ofproto/ofproto.c