diff options
Diffstat (limited to 'p11-kit')
-rw-r--r-- | p11-kit/uri.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/p11-kit/uri.c b/p11-kit/uri.c index 684a740..36fae18 100644 --- a/p11-kit/uri.c +++ b/p11-kit/uri.c @@ -1247,7 +1247,7 @@ p11_kit_uri_parse (const char *string, P11KitUriType uri_type, /* Clear everything out */ memset (&uri->module, 0, sizeof (uri->module)); - memset (&uri->token, 0, sizeof (uri->module)); + memset (&uri->token, 0, sizeof (uri->token)); for (i = 0; i < uri->n_attributes; ++i) { free (uri->attributes[i].pValue); memset (&uri->attributes[i], 0, sizeof (CK_ATTRIBUTE)); |