~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/drizzleimport.cc

  • Committer: Monty Taylor
  • Date: 2008-10-06 01:30:47 UTC
  • Revision ID: monty@inaugust.com-20081006013047-6m2ejc0c4peye2k9
Removed my_free(). It turns out that it had been def'd to ignore the flags passed to it in the second arg anyway. Gotta love that.

Show diffs side-by-side

added added

removed removed

Lines of Context:
191
191
    if (argument)
192
192
    {
193
193
      char *start=argument;
194
 
      my_free(opt_password,MYF(MY_ALLOW_ZERO_PTR));
 
194
      free(opt_password);
195
195
      opt_password=my_strdup(argument,MYF(MY_FAE));
196
196
      while (*argument) *argument++= 'x';    /* Destroy argument */
197
197
      if (*start)
605
605
          exitcode= error;
606
606
    db_disconnect(current_host, drizzle);
607
607
  }
608
 
  my_free(opt_password,MYF(MY_ALLOW_ZERO_PTR));
 
608
  free(opt_password);
609
609
  free_defaults(argv_to_free);
610
610
  my_end(my_end_arg);
611
611
  return(exitcode);