]> granicus.if.org Git - p11-kit/commitdiff
p11-kit: Remove unused pointer
authorPankaj <pankaj.s01@samsung.com>
Wed, 21 Oct 2015 03:20:00 +0000 (03:20 +0000)
committerStef Walter <stefw@redhat.com>
Wed, 21 Oct 2015 06:20:53 +0000 (08:20 +0200)
https://bugs.freedesktop.org/show_bug.cgi?id=92532

p11-kit/modules.c

index fac4707a7a882266dcb22409d6c2fc116a02199e..acb3707c641ae1713a4dc4d72ded51a00d6cdafd 100644 (file)
@@ -488,7 +488,6 @@ take_config_and_load_module_inlock (char **name,
 {
        const char *filename = NULL;
        const char *remote = NULL;
-       char *value = NULL;
        CK_RV rv = CKR_OK;
        Module *mod;
 
@@ -538,7 +537,6 @@ take_config_and_load_module_inlock (char **name,
        mod->critical = critical;
 
 out:
-       free (value);
        return rv;
 }