~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/mf_iocache.c

  • Committer: Monty Taylor
  • Date: 2008-10-06 01:30:47 UTC
  • Revision ID: monty@inaugust.com-20081006013047-6m2ejc0c4peye2k9
Removed my_free(). It turns out that it had been def'd to ignore the flags passed to it in the second arg anyway. Gotta love that.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1723
1723
    info->alloced_buffer=0;
1724
1724
    if (info->file != -1)                       /* File doesn't exist */
1725
1725
      error= my_b_flush_io_cache(info,1);
1726
 
    my_free((uchar*) info->buffer,MYF(MY_WME));
 
1726
    free((uchar*) info->buffer);
1727
1727
    info->buffer=info->read_pos=(uchar*) 0;
1728
1728
  }
1729
1729
  if (info->type == SEQ_READ_APPEND)
1807
1807
    total_bytes += 4+block_size;
1808
1808
  }
1809
1809
  close_file(&sra_cache);
1810
 
  my_free(block,MYF(MY_WME));
 
1810
  free(block);
1811
1811
  if (!my_stat(fname,&status,MYF(MY_WME)))
1812
1812
    die("%s failed to stat, but I had just closed it,\
1813
1813
 wonder how that happened");