summaryrefslogtreecommitdiffstats
path: root/news/pan2/files
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-04-26 04:47:27 +0000
committermarcus <marcus@FreeBSD.org>2003-04-26 04:47:27 +0000
commit3075a08a871fbf3c37c45f30b52e9aba547f965a (patch)
tree4c89baaadddf223e28349eb96e438bc892475aaa /news/pan2/files
parent7b253572853e595c81a142bef3680f69e0c11566 (diff)
downloadFreeBSD-ports-3075a08a871fbf3c37c45f30b52e9aba547f965a.zip
FreeBSD-ports-3075a08a871fbf3c37c45f30b52e9aba547f965a.tar.gz
Don't call free when we haven't actually malloc'd any memory. This should
fix an abort on -CURRENT. Reported by: walt <wa1ter@myrealbox.com>
Diffstat (limited to 'news/pan2/files')
-rw-r--r--news/pan2/files/patch-pan_base_article.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/news/pan2/files/patch-pan_base_article.c b/news/pan2/files/patch-pan_base_article.c
new file mode 100644
index 0000000..20ee678
--- /dev/null
+++ b/news/pan2/files/patch-pan_base_article.c
@@ -0,0 +1,10 @@
+--- pan/base/article.c.orig Sat Apr 26 00:33:54 2003
++++ pan/base/article.c Sat Apr 26 00:45:00 2003
+@@ -505,7 +505,6 @@
+ if (changed_qty > 0)
+ articles_set_dirty (changed, changed_qty);
+
+- g_free (changed);
+ }
+
+
OpenPOWER on IntegriCloud