- Bug 136523. Refine code changes from prevous commit.
This commit is contained in:
parent
217a274564
commit
60b5de2740
@ -137,15 +137,13 @@ using namespace KWallet;
|
||||
|
||||
extern "C"
|
||||
{
|
||||
struct EnumSecretList *tempEnumSecrets = NULL;
|
||||
static struct EnumSecretList *tempEnumSecrets = NULL;
|
||||
|
||||
//void MyTest(struct EnumSecretList *enumWalletSecrets)
|
||||
void Aggregate(struct EnumSecretList *enumWalletSecrets)
|
||||
{
|
||||
|
||||
printf("inside natiove agg");
|
||||
int retVal = 0;
|
||||
tempEnumSecrets = NULL;
|
||||
retVal = win->ReadAllWalletSecrets(&tempEnumSecrets);
|
||||
|
||||
struct EnumSecretList *iter = tempEnumSecrets;
|
||||
@ -224,6 +222,7 @@ extern "C"
|
||||
free(head);
|
||||
head = temp;
|
||||
}
|
||||
tempEnumSecrets = NULL;
|
||||
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user