~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_lib.c

  • Committer: Lee
  • Date: 2008-10-03 23:31:06 UTC
  • mfrom: (413.2.3 drizzle)
  • mto: This revision was merged to the branch mainline in revision 459.
  • Revision ID: lbieber@lbieber-desktop-20081003233106-tgvzu0fh25gb3xeg
breaking out enum field classes

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
 
    free((unsigned char*) buffer);
 
69
    my_free((uchar*) buffer,MYF(0));
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
 
    free((unsigned char*) buffer);
 
113
    my_free((uchar*) buffer,MYF(0));
114
114
    goto error;
115
115
  }
116
116
  init_alloc_root(names_storage, NAMES_START_SIZE, NAMES_START_SIZE);
142
142
    else
143
143
      finfo.mystat= NULL;
144
144
 
145
 
    if (push_dynamic(dir_entries_storage, (unsigned char*)&finfo))
 
145
    if (push_dynamic(dir_entries_storage, (uchar*)&finfo))
146
146
      goto error;
147
147
  }
148
148