~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_fopen.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:
104
104
  if ((uint) file < my_file_limit && my_file_info[file].type != UNOPEN)
105
105
  {
106
106
    my_file_info[file].type = UNOPEN;
107
 
    my_free(my_file_info[file].name, MYF(MY_ALLOW_ZERO_PTR));
 
107
    free(my_file_info[file].name);
108
108
  }
109
109
  pthread_mutex_unlock(&THR_LOCK_open);
110
110
  return(err);