~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/mf_cache.c

  • 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:
70
70
  {
71
71
    return(0);
72
72
  }
73
 
  my_free(cache->dir,   MYF(MY_ALLOW_ZERO_PTR));
74
 
  my_free(cache->prefix,MYF(MY_ALLOW_ZERO_PTR));
 
73
  free(cache->dir);
 
74
  free(cache->prefix);
75
75
  return(1);
76
76
}
77
77
 
107
107
      if (cache->file_name)
108
108
      {
109
109
        (void) my_delete(cache->file_name,MYF(MY_WME | ME_NOINPUT));
110
 
        my_free(cache->file_name,MYF(0));
 
110
        free(cache->file_name);
111
111
      }
112
112
#endif
113
113
    }
114
 
    my_free(cache->dir,MYF(MY_ALLOW_ZERO_PTR));
115
 
    my_free(cache->prefix,MYF(MY_ALLOW_ZERO_PTR));
 
114
    free(cache->dir);
 
115
    free(cache->prefix);
116
116
  }
117
117
  return;
118
118
}