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;