diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-10-24 06:13:07 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-10-24 06:13:07 +0000 |
commit | 6f4c24f0439d964aee9ba65296ef6f6944801acc (patch) | |
tree | ad8ca8b08b9ff2a10d2456edf4bc10b4e65b26df /gtk/colors.c | |
parent | 5567e287ef03773f3258ea7d8e94fff08c7d1c61 (diff) |
On Windows, put Ethereal configuration files under the "Application
Data\Ethereal" directory under the user's profile, as that appears to be
the Windows 2000 standard.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4071 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'gtk/colors.c')
-rw-r--r-- | gtk/colors.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk/colors.c b/gtk/colors.c index ac29b6db79..cebf124d23 100644 --- a/gtk/colors.c +++ b/gtk/colors.c @@ -1,7 +1,7 @@ /* colors.c * Definitions for color structures and routines * - * $Id: colors.c,v 1.13 2001/10/23 05:01:02 guy Exp $ + * $Id: colors.c,v 1.14 2001/10/24 06:13:06 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -288,7 +288,7 @@ write_filter(gpointer filter_arg, gpointer file_arg) gboolean write_filters(colfilter *filter) { - const gchar *pf_dir_path; + gchar *pf_dir_path; const gchar *path; FILE *f; @@ -298,6 +298,7 @@ write_filters(colfilter *filter) simple_dialog(ESD_TYPE_WARN, NULL, "Can't create directory\n\"%s\"\nfor color files: %s.", pf_dir_path, strerror(errno)); + g_free(pf_dir_path); return FALSE; } |