1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00

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>
This commit is contained in:
Joe Marcus Clarke 2003-04-26 04:47:27 +00:00
parent aa0b37526c
commit 80a033160c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=79662
2 changed files with 11 additions and 0 deletions

View File

@ -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/ \

View File

@ -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);
}