summaryrefslogtreecommitdiff
path: root/x11/xnee/files/patch-src::lib::xnee.c
blob: e7e5935c9cf76ee70df5738c1e076730d9c634d9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$FreeBSD$

--- src/lib/xnee.c.orig	Wed Mar 19 08:01:11 2003
+++ src/lib/xnee.c	Fri Apr 18 16:51:11 2003
@@ -881,7 +881,7 @@
 xnee_new_xnee_data()
 {
 
-  xnee_data* xd  = (xnee_data*) malloc (sizeof (xnee_data));
+  xnee_data* xd  = (xnee_data*) calloc (1, sizeof (xnee_data));
   if (xd==NULL)
     {
       xnee_print_error ("Could not allocate memory ........\n");