2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-30 22:05:19 +00:00

Fix two memory leaks.

Found by coverity.

Signed-off-by: yinpeijun <yinpeijun@huawei.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
This commit is contained in:
yinpeijun
2014-07-28 15:21:17 +08:00
committed by Ben Pfaff
parent abadfcb05d
commit 0ded15d4bc
3 changed files with 3 additions and 0 deletions

View File

@@ -1196,6 +1196,7 @@ read_cert_file(const char *file_name, X509 ***certs, size_t *n_certs)
free(*certs);
*certs = NULL;
*n_certs = 0;
fclose(file);
return EIO;
}