[Pvfs2-cvs] commit by robl in pvfs2-1/src/common/misc: pint-util.c

CVS commit program cvs at parl.clemson.edu
Tue Dec 11 10:15:30 EST 2007


Update of /projects/cvsroot/pvfs2-1/src/common/misc
In directory parlweb1:/tmp/cvs-serv23925/src/common/misc

Modified Files:
	pint-util.c 
Log Message:
PINT_dist_free just free()ed the memory that we were memsetting here.  should
PINTT_dist_free null the pointer as well?


Index: pint-util.c
===================================================================
RCS file: /projects/cvsroot/pvfs2-1/src/common/misc/pint-util.c,v
diff -u -w -p -u -r1.23 -r1.24
--- pint-util.c	24 Oct 2007 16:29:07 -0000	1.23
+++ pint-util.c	11 Dec 2007 15:15:30 -0000	1.24
@@ -252,7 +252,6 @@ void PINT_free_object_attr(PVFS_object_a
                 if (attr->u.meta.dist)
                 {
                     PINT_dist_free(attr->u.meta.dist);
-                    memset(attr->u.meta.dist, 0, sizeof(struct PINT_dist_s));
                 }
             }
         }



More information about the Pvfs2-cvs mailing list