src/lib/crypto.c
void crypto_session_free(CRYPTO_SESSION *cs)
{
   if (cs->cryptoData) {
      CryptoData_free(cs->cryptoData);
   }
   if (cs->session_key){
      free(cs->session_key);
   }
   free(cs);
}
/*
 * Free memory associated with a crypto session object.
 */
Free memory associated with a crypto session object.
Free memory associated with a crypto session object .
void crypto_session_free(CRYPTO_SESSION *cs)
{
   if (cs->cryptoData) {
      CryptoData_free(cs->cryptoData);
   }
   if (cs->session_key){
      free(cs->session_key);
   }
   free(cs);
}
void crypto_session_free ( CRYPTO_SESSION * cs ) { if ( cs -> cryptoData ) { CryptoData_free ( cs -> cryptoData ) ; } if ( cs -> session_key ) { free ( cs -> session_key ) ; } free ( cs ) ; }
Free memory associated with a crypto session object.
Free memory associated with a crypto session object .