fix double free of reported default plaintext header size output

This commit is contained in:
Stephen Lombardo 2020-09-23 10:37:13 -04:00
parent 7b42a9bdd3
commit bc853aecb4

View File

@ -1,4 +1,4 @@
/*
/*
** SQLCipher
** http://sqlcipher.net
**
@ -318,7 +318,6 @@ int sqlcipher_codec_pragma(sqlite3* db, int iDb, Parse *pParse, const char *zLef
} else {
char *size = sqlite3_mprintf("%d", sqlcipher_get_default_plaintext_header_size());
codec_vdbe_return_string(pParse, "cipher_default_plaintext_header_size", size, P4_DYNAMIC);
sqlite3_free(size);
}
}else
if( sqlite3StrICmp(zLeft,"cipher_salt")==0 ){