~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/list.cc

  • Committer: Monty Taylor
  • Date: 2008-12-07 06:57:48 UTC
  • mfrom: (656.3.2 devel)
  • mto: This revision was merged to the branch mainline in revision 670.
  • Revision ID: monty@inaugust.com-20081207065748-u3amhx3mnhopnaeo
More malloc fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
 
70
70
LIST *list_cons(void *data, LIST *list)
71
71
{
72
 
  LIST * const new_charset=(LIST*) my_malloc(sizeof(LIST),MYF(MY_FAE));
 
72
  LIST * const new_charset=(LIST*) malloc(sizeof(LIST));
73
73
  if (!new_charset)
74
74
    return NULL;
75
75
  new_charset->data=data;