Fix memory leaks in error paths.
[cascardo/ovs.git] / lib / nx-match.c
index 295eec0..ff77422 100644 (file)
@@ -109,6 +109,7 @@ check_mask_consistency(const uint8_t *p, const struct mf_field *mf)
                              "bits wildcarded by the mask.  (Future versions "
                              "of OVS may report this as an OpenFlow error.)",
                              s);
+                free(s);
                 break;
             }
         }