Ticket #33672: patch-src-crypto-crypto.cc.diff

File patch-src-crypto-crypto.cc.diff, 316 bytes (added by ryandesign (Ryan Carsten Schmidt), 12 years ago)
  • src/crypto/crypto.cc

    old new  
    4949{
    5050  void *ptr = NULL;
    5151
    52   if( (0 != posix_memalign( (void **)&ptr, 16, len )) || (ptr == NULL) ) {
     52  if( ! (ptr = malloc(len)) ) {
    5353    throw std::bad_alloc();
    5454  }
    5555