summaryrefslogtreecommitdiff
path: root/www/wwwoffle/patches/patch-ab
blob: 15be88488184c650c6d71a63e6dafd9a685f2098 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-ab,v 1.9 2002/07/25 15:56:20 fredb Exp $

--- src/ftp.c.orig	Sun Jun 23 10:04:08 2002
+++ src/ftp.c
@@ -365,8 +365,6 @@
     return(msg);
    }
 
- free(path);
-
  /* Change directory again to see if file is a dir. */
 
  if(file)
@@ -824,6 +822,7 @@
  nbuffer=buffer?strlen(buffer):0; nread=0;
  nbuffertail=buffertail?strlen(buffertail):0; nreadtail=0;
 
+ free(path);
  free(str);
 
  return(msg);