diff options
-rw-r--r-- | p11-kit/uri.c | 1 | ||||
-rw-r--r-- | tests/uri-test.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/p11-kit/uri.c b/p11-kit/uri.c index 36fae18..4f8e251 100644 --- a/p11-kit/uri.c +++ b/p11-kit/uri.c @@ -1324,6 +1324,7 @@ p11_kit_uri_free (P11KitUri *uri) for (i = 0; i < uri->n_attributes; ++i) free (uri->attributes[i].pValue); + free (uri->pinfile); free (uri); } diff --git a/tests/uri-test.c b/tests/uri-test.c index 100df31..d5ca423 100644 --- a/tests/uri-test.c +++ b/tests/uri-test.c @@ -1181,6 +1181,7 @@ main (void) printf ("%s\n", output->buffer); ret = suite->failCount; CuSuiteDelete (suite); + CuStringDelete (output); return ret; } |