diff --git a/platform-independent/c/core/src/mpw-algorithm_v0.c b/platform-independent/c/core/src/mpw-algorithm_v0.c index 1d056dd6..6b08863a 100644 --- a/platform-independent/c/core/src/mpw-algorithm_v0.c +++ b/platform-independent/c/core/src/mpw-algorithm_v0.c @@ -169,7 +169,7 @@ const char *mpw_site_crypted_password_v0( if (strlen( cipherText ) % 4 != 0) { wrn( "Malformed encrypted state, not base64." ); // This can happen if state was stored in a non-encrypted form, eg. login in old mpsites. - return strdup( cipherText ); + return mpw_strdup( cipherText ); } // Base64-decode