~posulliv/drizzle/memcached_applier

« back to all changes in this revision

Viewing changes to plugin/heap/hp_create.cc

  • Committer: Jay Pipes
  • Date: 2009-08-03 14:23:22 UTC
  • mfrom: (1039.2.68 staging)
  • mto: This revision was merged to the branch mainline in revision 1078.
  • Revision ID: jpipes@serialcoder-20090803142322-1g67h7su9mocg9ig
Merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
468
468
  hp_clear(share);                      /* Remove blocks from memory */
469
469
  thr_lock_delete(&share->lock);
470
470
  pthread_mutex_destroy(&share->intern_lock);
471
 
  if(share->keys)
 
471
  if (share->keydef && share->keydef->seg)
472
472
    free(share->keydef->seg);
473
 
  if(share->keys)
 
473
  if (share->keydef)
474
474
    free(share->keydef);
475
475
  free(share->column_defs);
476
476
  free((unsigned char*) share->name);