freebsd-ports/x11/xtermset/files/patch-src::arguments.c
Peter Pentchev a26cd8acb6 Update to 0.5.1 and fix a bug related to using freed memory.
Maintainer feedback timed out - the DNS setup of astorit.com is badly broken.
In view of the imminent ports freeze for 4.3-RELEASE, I think that in this
case, MAINTAINER can be overridden.

PR:		26572
Submitted by:	Max Khon <fjoe@newst.net>
2001-04-17 08:41:23 +00:00

14 lines
294 B
C

--- src/arguments.c 2000/12/20 15:54:27 1.2
+++ src/arguments.c 2001/04/14 16:21:52
@@ -62,8 +62,9 @@
current = first;
while(current!=NULL) {
+ argument *next = current->next;
free(current);
- current=current->next;
+ current = next;
}
current = NULL;