summaryrefslogtreecommitdiff
path: root/x11/xview-lib/patches/patch-cp
blob: 164a4ef0f9c2ce681cd2284e34852a0556691b02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
$NetBSD: patch-cp,v 1.1 2001/12/20 09:20:03 tron Exp $

--- lib/libxview/ttysw/cim_size.c.orig	Tue Jun 29 07:17:14 1993
+++ lib/libxview/ttysw/cim_size.c	Thu Dec 20 10:09:19 2001
@@ -156,19 +156,19 @@
 {
 
     if (lines_ptr) {
-        cfree((CHAR *) (lines_ptr));
+        free((CHAR *) (lines_ptr));
 	lines_ptr = NULL;
     }
     if (image) {
-        cfree((CHAR **) image);
+        free((CHAR **) image);
 	image = NULL;
     }
     if (mode_ptr) {
-	cfree((char *) (mode_ptr));
+	free((char *) (mode_ptr));
 	mode_ptr = NULL;
     }
     if (screenmode) {
-	cfree((char **) screenmode);
+	free((char **) screenmode);
 	screenmode = NULL;
     }
 }