~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_connect.cc

  • Committer: Monty Taylor
  • Date: 2008-10-04 17:33:56 UTC
  • Revision ID: monty@inaugust.com-20081004173356-udagzm2uxfsbk4un
RemovedĀ x_freeĀ calls.

Show diffs side-by-side

added added

removed removed

Lines of Context:
373
373
  }
374
374
 
375
375
  if (thd->main_security_ctx.user)
376
 
    x_free(thd->main_security_ctx.user);
 
376
    if (thd->main_security_ctx.user)
 
377
      free(thd->main_security_ctx.user);
377
378
  if (!(thd->main_security_ctx.user= my_strdup(user, MYF(MY_WME))))
378
379
    return 1; /* The error is set by my_strdup(). */
379
380
  return check_user(thd, passwd, passwd_len, db, true);