diff options
author | alfred <alfred@FreeBSD.org> | 2002-03-02 18:43:22 +0800 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2002-03-02 18:43:22 +0800 |
commit | 379f9dc83c1d69243c4f839957178c02bc30eb1a (patch) | |
tree | 5423d21fec55e865ebc1929c7bd36a2cb033a0c6 /x11-wm | |
parent | ff47f26d8ea1102c6fda73c8397393f8cbe91608 (diff) | |
download | freebsd-ports-gnome-379f9dc83c1d69243c4f839957178c02bc30eb1a.tar.gz freebsd-ports-gnome-379f9dc83c1d69243c4f839957178c02bc30eb1a.tar.zst freebsd-ports-gnome-379f9dc83c1d69243c4f839957178c02bc30eb1a.zip |
remove another g_free on a string culled from g_getenv.
Diffstat (limited to 'x11-wm')
-rw-r--r-- | x11-wm/xfce/files/patch-xfumed.c | 10 | ||||
-rw-r--r-- | x11-wm/xfce4/files/patch-xfumed.c | 10 |
2 files changed, 18 insertions, 2 deletions
diff --git a/x11-wm/xfce/files/patch-xfumed.c b/x11-wm/xfce/files/patch-xfumed.c index 1d59e1224868..ec04814bf811 100644 --- a/x11-wm/xfce/files/patch-xfumed.c +++ b/x11-wm/xfce/files/patch-xfumed.c @@ -1,5 +1,5 @@ --- xfumed/xfumed.c.orig Wed Nov 7 13:09:02 2001 -+++ xfumed/xfumed.c Sat Mar 2 02:32:50 2002 ++++ xfumed/xfumed.c Sat Mar 2 02:48:53 2002 @@ -163,7 +163,6 @@ g_error ("xfumed: Couldn't open file %s\n", filename); } @@ -8,3 +8,11 @@ g_free (filename); if (xfmenu->ctree) +@@ -476,7 +475,6 @@ + + home = g_getenv ("HOME"); + filename = g_strconcat (home, "/", RCFILE, NULL); +- g_free (home); + backup = g_strconcat (filename, ".bak", NULL); + + if ((backup_fp = fopen (backup, "w")) && (fp = fopen (filename, "r"))) diff --git a/x11-wm/xfce4/files/patch-xfumed.c b/x11-wm/xfce4/files/patch-xfumed.c index 1d59e1224868..ec04814bf811 100644 --- a/x11-wm/xfce4/files/patch-xfumed.c +++ b/x11-wm/xfce4/files/patch-xfumed.c @@ -1,5 +1,5 @@ --- xfumed/xfumed.c.orig Wed Nov 7 13:09:02 2001 -+++ xfumed/xfumed.c Sat Mar 2 02:32:50 2002 ++++ xfumed/xfumed.c Sat Mar 2 02:48:53 2002 @@ -163,7 +163,6 @@ g_error ("xfumed: Couldn't open file %s\n", filename); } @@ -8,3 +8,11 @@ g_free (filename); if (xfmenu->ctree) +@@ -476,7 +475,6 @@ + + home = g_getenv ("HOME"); + filename = g_strconcat (home, "/", RCFILE, NULL); +- g_free (home); + backup = g_strconcat (filename, ".bak", NULL); + + if ((backup_fp = fopen (backup, "w")) && (fp = fopen (filename, "r"))) |