From 6f4c24f0439d964aee9ba65296ef6f6944801acc Mon Sep 17 00:00:00 2001 From: guy Date: Wed, 24 Oct 2001 06:13:07 +0000 Subject: 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 --- gtk/colors.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gtk/colors.c') 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 @@ -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; } -- cgit v1.2.3