Bug KWallet, and windows build 167

This commit is contained in:
Jim Norman
2005-12-06 01:55:02 +00:00
parent 88c95b8664
commit 2bf3f72806
5 changed files with 20 additions and 19 deletions

View File

@@ -137,13 +137,14 @@ using namespace KWallet;
extern "C"
{
static struct EnumSecretList *tempEnumSecrets = NULL;
struct EnumSecretList *tempEnumSecrets = NULL;
//void MyTest(struct EnumSecretList *enumWalletSecrets)
void Aggregate(struct EnumSecretList *enumWalletSecrets)
{
int retVal = 0;
tempEnumSecrets = NULL;
retVal = win->ReadAllWalletSecrets(&tempEnumSecrets);
struct EnumSecretList *iter = tempEnumSecrets;
@@ -222,7 +223,7 @@ extern "C"
free(head);
head = temp;
}
tempEnumSecrets = NULL;
}