~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/mysql_protocol/mysql_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 const uint32_t random_max= 0x3FFFFFFF;
57
57
static const double random_max_double= (double)0x3FFFFFFF;
58
58
 
 
59
ListenMySQLProtocol::~ListenMySQLProtocol()
 
60
{
 
61
  /* This is strdup'd from the options */
 
62
  free(bind_address);
 
63
}
 
64
 
59
65
const char* ListenMySQLProtocol::getHost(void) const
60
66
{
61
67
  return bind_address;