~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_error.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:
182
182
  /* Error numbers must be unique. No overlapping is allowed. */
183
183
  if (*search_meh_pp && ((*search_meh_pp)->meh_first <= last))
184
184
  {
185
 
    my_free((uchar*)meh_p, MYF(0));
 
185
    free((uchar*)meh_p);
186
186
    return 1;
187
187
  }
188
188
 
240
240
  errmsgs= meh_p->meh_errmsgs;
241
241
  bool is_globerrs= meh_p->is_globerrs;
242
242
 
243
 
  my_free((uchar*) meh_p, MYF(0));
 
243
  free((uchar*) meh_p);
244
244
 
245
245
  if (is_globerrs)
246
246
    return NULL;
255
255
  for (list= my_errmsgs_globerrs.meh_next; list; list= next)
256
256
  {
257
257
    next= list->meh_next;
258
 
    my_free((uchar*) list, MYF(0));
 
258
    free((uchar*) list);
259
259
  }
260
260
  my_errmsgs_list= &my_errmsgs_globerrs;
261
261
}