~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/drizzle_protocol/drizzle_protocol.cc

  • Committer: Monty Taylor
  • Date: 2010-08-12 06:10:25 UTC
  • mto: (1711.1.1 innodb-plugin-merge)
  • mto: This revision was merged to the branch mainline in revision 1712.
  • Revision ID: mordred@inaugust.com-20100812061025-cme620sdil8aov41
Free strdup'd option strings.

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
static uint32_t write_timeout;
57
57
static uint32_t retry_count;
58
58
static uint32_t buffer_length;
59
 
static char* bind_address;
 
59
static char* bind_address= NULL;
 
60
 
 
61
ListenDrizzleProtocol::~ListenDrizzleProtocol()
 
62
{
 
63
  /* This is strdup'd from the options */
 
64
  free(bind_address);
 
65
}
60
66
 
61
67
const char* ListenDrizzleProtocol::getHost(void) const
62
68
{