summaryrefslogtreecommitdiff
path: root/trust/list.c
diff options
context:
space:
mode:
Diffstat (limited to 'trust/list.c')
-rw-r--r--trust/list.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/trust/list.c b/trust/list.c
index 1cb9d3f..7ee4926 100644
--- a/trust/list.c
+++ b/trust/list.c
@@ -125,6 +125,7 @@ list_iterate (p11_enumerate *ex,
if (attr && attr->pValue && attr->ulValueLen) {
string = strndup (attr->pValue, attr->ulValueLen);
printf (" label: %s\n", string);
+ free (string);
}
if (p11_attrs_find_bool (ex->attrs, CKA_X_DISTRUSTED, &val) && val)