~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/myisam/mf_keycaches.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:
70
70
 
71
71
static void safe_hash_entry_free(SAFE_HASH_ENTRY *entry)
72
72
{
73
 
  my_free((uchar*) entry, MYF(0));
 
73
  free((uchar*) entry);
74
74
  return;
75
75
}
76
76
 
228
228
    if (my_hash_insert(&hash->hash, (uchar*) entry))
229
229
    {
230
230
      /* This can only happen if hash got out of memory */
231
 
      my_free((char*) entry, MYF(0));
 
231
      free((char*) entry);
232
232
      error= 1;
233
233
      goto end;
234
234
    }