mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 09:48:00 -04:00
29 lines
671 B
Plaintext
29 lines
671 B
Plaintext
$NetBSD: patch-cp,v 1.2 2009/12/10 20:35:57 abs Exp $
|
|
|
|
--- lib/libxview/ttysw/cim_size.c.orig 1993-06-29 05:17:14.000000000 +0000
|
|
+++ lib/libxview/ttysw/cim_size.c
|
|
@@ -156,19 +156,19 @@ xv_tty_free_image_and_mode()
|
|
{
|
|
|
|
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;
|
|
}
|
|
}
|