~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_lib.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:
66
66
                                    ALIGN_SIZE(sizeof(MY_DIR))));
67
67
    free_root((MEM_ROOT*)((char*)buffer + ALIGN_SIZE(sizeof(MY_DIR)) + 
68
68
                          ALIGN_SIZE(sizeof(DYNAMIC_ARRAY))), MYF(0));
69
 
    my_free((uchar*) buffer,MYF(0));
 
69
    free((uchar*) buffer);
70
70
  }
71
71
  return;
72
72
} /* my_dirend */
110
110
  if (my_init_dynamic_array(dir_entries_storage, sizeof(FILEINFO),
111
111
                            ENTRIES_START_SIZE, ENTRIES_INCREMENT))
112
112
  {
113
 
    my_free((uchar*) buffer,MYF(0));
 
113
    free((uchar*) buffer);
114
114
    goto error;
115
115
  }
116
116
  init_alloc_root(names_storage, NAMES_START_SIZE, NAMES_START_SIZE);