diff options
author | yinpeijun <yinpeijun@huawei.com> | 2014-08-27 09:52:54 +0800 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2014-08-27 07:37:40 -0700 |
commit | ea30de0ebdaa886ee5dd0aab117b7422172e3aef (patch) | |
tree | c2fc8e7b392b85e0e714eef7349a6a7d68014b83 /lib/nx-match.c | |
parent | f7a22c7e6a598e25aed6b2cd6dce4a1ee2c41bc9 (diff) | |
download | openvswitch-ea30de0ebdaa886ee5dd0aab117b7422172e3aef.tar.gz |
Fix memory leaks in error paths.
Found by Fortify.
Signed-off-by: yinpeijun <yinpeijun@huawei.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'lib/nx-match.c')
-rw-r--r-- | lib/nx-match.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/nx-match.c b/lib/nx-match.c index 1d3205f6f..54712ccce 100644 --- a/lib/nx-match.c +++ b/lib/nx-match.c @@ -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; } } |