(p11_release_module): j needs to be used as inter loop index. From
Douglas Engert. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18406 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -982,7 +982,7 @@ p11_release_module(struct p11_module *p)
|
||||
int j;
|
||||
|
||||
for (j = 0 ; j < p->slot[i].mechs.num ; j++)
|
||||
free(p->slot[i].mechs.infos[i]);
|
||||
free(p->slot[i].mechs.infos[j]);
|
||||
free(p->slot[i].mechs.infos);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user