[Pvfs2-cvs] commit by harms in pvfs2/src/server: create.sm

CVS commit program cvs at parl.clemson.edu
Tue Apr 7 18:23:59 EDT 2009


Update of /projects/cvsroot/pvfs2/src/server
In directory parlweb1:/tmp/cvs-serv16886/src/server

Modified Files:
	create.sm 
Log Message:
Corrects a double free during the error handling case. Changed so that u.create.datafile_handles is only freed within create.sm:cleanup. See Trac #89.


Index: create.sm
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/server/create.sm,v
diff -p -u -r1.49 -r1.50
--- create.sm	20 Nov 2008 01:17:10 -0000	1.49
+++ create.sm	7 Apr 2009 22:23:59 -0000	1.50
@@ -427,8 +427,6 @@ static PINT_sm_action remove_metafile_ob
         s_op->u.create.saved_error_code = js_p->error_code;
     }
 
-    free(s_op->resp.u.create.datafile_handles);
-
     ret = job_trove_dspace_remove(
         s_op->req->u.create.fs_id,
         s_op->resp.u.create.metafile_handle,



More information about the Pvfs2-cvs mailing list