From 673cc456e4adb20ca56cb36c2bac461caa5bc514 Mon Sep 17 00:00:00 2001 From: "morse%netscape.com" Date: Wed, 21 Aug 2002 21:31:50 +0000 Subject: [PATCH] bug 162331, fix memory leak, r=dbradley, sr=jag --- extensions/wallet/src/wallet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/wallet/src/wallet.cpp b/extensions/wallet/src/wallet.cpp index e2c08fdd706..f848af2bf44 100644 --- a/extensions/wallet/src/wallet.cpp +++ b/extensions/wallet/src/wallet.cpp @@ -1068,7 +1068,7 @@ wallet_ReadFromList( } item2 = plaintext; } else { - item2 = PL_strdup(mapElementPtr->item2); + item2 = mapElementPtr->item2; } itemList = mapElementPtr->itemList; index = i+1;