~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_alloc.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:
116
116
        {
117
117
          /* remove block from the list and free it */
118
118
          *prev= mem->next;
119
 
          my_free(mem, MYF(0));
 
119
          free(mem);
120
120
        }
121
121
        else
122
122
          prev= &mem->next;
332
332
  {
333
333
    old=next; next= next->next ;
334
334
    if (old != root->pre_alloc)
335
 
      my_free(old,MYF(0));
 
335
      free(old);
336
336
  }
337
337
  for (next=root->free ; next ;)
338
338
  {
339
339
    old=next; next= next->next;
340
340
    if (old != root->pre_alloc)
341
 
      my_free(old,MYF(0));
 
341
      free(old);
342
342
  }
343
343
  root->used=root->free=0;
344
344
  if (root->pre_alloc)