From 3075a08a871fbf3c37c45f30b52e9aba547f965a Mon Sep 17 00:00:00 2001 From: marcus Date: Sat, 26 Apr 2003 04:47:27 +0000 Subject: Don't call free when we haven't actually malloc'd any memory. This should fix an abort on -CURRENT. Reported by: walt --- news/pan2/Makefile | 1 + news/pan2/files/patch-pan_base_article.c | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 news/pan2/files/patch-pan_base_article.c (limited to 'news/pan2') diff --git a/news/pan2/Makefile b/news/pan2/Makefile index d5ddcf8..78562ae 100644 --- a/news/pan2/Makefile +++ b/news/pan2/Makefile @@ -7,6 +7,7 @@ PORTNAME= pan2 PORTVERSION= 0.13.95 +PORTREVISION= 1 CATEGORIES= news gnome MASTER_SITES= http://pan.rebelbase.com/download/releases/${PORTVERSION}/SOURCE/ \ http://pan.rebelbase.com/download/obsolete/${PORTVERSION}/SOURCE/ \ 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); + } + + -- cgit v1.1