summaryrefslogtreecommitdiffstats
path: root/misc/gnomeutils2
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-04-24 02:58:18 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-04-24 02:58:18 +0800
commit860c48d0d497fcaecfa859a3e053be10f70adb5e (patch)
tree8a3f6d5163e6ce892ff8cba8c93b359586bef6d7 /misc/gnomeutils2
parentd1894a8c0516e4459e07b721ca2b227a7ac0dd21 (diff)
downloadmarcuscom-ports-860c48d0d497fcaecfa859a3e053be10f70adb5e.tar
marcuscom-ports-860c48d0d497fcaecfa859a3e053be10f70adb5e.tar.gz
marcuscom-ports-860c48d0d497fcaecfa859a3e053be10f70adb5e.tar.bz2
marcuscom-ports-860c48d0d497fcaecfa859a3e053be10f70adb5e.tar.lz
marcuscom-ports-860c48d0d497fcaecfa859a3e053be10f70adb5e.tar.xz
marcuscom-ports-860c48d0d497fcaecfa859a3e053be10f70adb5e.tar.zst
marcuscom-ports-860c48d0d497fcaecfa859a3e053be10f70adb5e.zip
Fix a double-free bug in logview.
Obtained from: FreeBSD CVS git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@683 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'misc/gnomeutils2')
-rw-r--r--misc/gnomeutils2/Makefile1
-rw-r--r--misc/gnomeutils2/files/patch-logview_logview.c18
2 files changed, 14 insertions, 5 deletions
diff --git a/misc/gnomeutils2/Makefile b/misc/gnomeutils2/Makefile
index 1eb4680ab..d2544f0c1 100644
--- a/misc/gnomeutils2/Makefile
+++ b/misc/gnomeutils2/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gnomeutils2
PORTVERSION= 2.3.0
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= misc gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
diff --git a/misc/gnomeutils2/files/patch-logview_logview.c b/misc/gnomeutils2/files/patch-logview_logview.c
index 49e8b06b3..3fe0abf93 100644
--- a/misc/gnomeutils2/files/patch-logview_logview.c
+++ b/misc/gnomeutils2/files/patch-logview_logview.c
@@ -1,6 +1,6 @@
---- logview/logview.c.orig Tue May 7 00:03:16 2002
-+++ logview/logview.c Tue May 7 00:04:37 2002
-@@ -903,7 +903,7 @@
+--- logview/logview.c.orig Sun Feb 16 15:34:59 2003
++++ logview/logview.c Wed Apr 23 14:51:26 2003
+@@ -774,7 +774,7 @@
if ( ! found) {
g_snprintf (full_name, sizeof (full_name),
@@ -9,7 +9,7 @@
if (access (full_name, R_OK) == 0) {
found = TRUE;
g_free (cfg->regexp_db_path);
-@@ -926,7 +926,7 @@
+@@ -797,7 +797,7 @@
if ( ! found) {
g_snprintf (full_name, sizeof (full_name),
@@ -18,7 +18,7 @@
if (access (full_name, R_OK) == 0) {
found = TRUE;
g_free (cfg->descript_db_path);
-@@ -960,7 +960,7 @@
+@@ -831,7 +831,7 @@
if ( ! found) {
g_snprintf (full_name, sizeof (full_name),
@@ -27,3 +27,11 @@
if (access (full_name, R_OK) == 0) {
found = TRUE;
g_free (cfg->action_db_path);
+@@ -882,7 +882,6 @@
+ else
+ prefs->logfile = NULL;
+ }
+- g_free (logfile);
+ }
+
+ void SaveUserPrefs(UserPrefsStruct *prefs)