3rdparty/OpenCV-2.3.0/modules/features2d/src/sift.cpp
static void release_descr_hist( double**** hist, int d )
{
  int i, j;

  for( i = 0; i < d; i++)
    {
      for( j = 0; j < d; j++ )
        free( (*hist)[i][j] );
      free( (*hist)[i] );
    }
  free( *hist );
  *hist = NULL;
}
/*
  De-allocates memory held by a descriptor histogram

  @param hist pointer to a 2D array of orientation histograms
  @param d width of hist
*/
De-allocates memory held by a descriptor histogram
De - allocates memory held by a descriptor histogram
static void release_descr_hist( double**** hist, int d )
{
  int i, j;
  for( i = 0; i < d; i++)
    {
      for( j = 0; j < d; j++ )
        free( (*hist)[i][j] );
      free( (*hist)[i] );
    }
  free( *hist );
  *hist = NULL;
}
static void release_descr_hist ( double * * * * hist , int d ) { int i , j ; for ( i = 0 ; i < d ; i ++ ) { for ( j = 0 ; j < d ; j ++ ) free ( ( * hist ) [ i ] [ j ] ) ; free ( ( * hist ) [ i ] ) ; } free ( * hist ) ; * hist = NULL ; }
De-allocates memory held by a descriptor histogram
De - allocates memory held by a descriptor histogram