~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/heap/hp_rename.c

  • Committer: Monty Taylor
  • Date: 2008-09-15 17:24:04 UTC
  • Revision ID: monty@inaugust.com-20080915172404-ygh6hiyu0q7qpa9x
Removed strndup calls.

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
      pthread_mutex_unlock(&THR_LOCK_heap);
33
33
      return(my_errno);
34
34
    }
35
 
    free(info->name);
 
35
    my_free(info->name,MYF(0));
36
36
    info->name=name_buff;
37
37
  }
38
38
  pthread_mutex_unlock(&THR_LOCK_heap);