Ethereal-cvs: [Ethereal-cvs] rev 15303: /trunk/epan/dissectors/: packet-scsi.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

Date: Fri, 12 Aug 2005 09:30:25 GMT
User: sahlberg
Date: 2005/08/12 04:30 AM

Log:
 get rid of some unnessecary GMemChunks.
 
 
 These GMemChunks are used here because :
 1, GMemChunks are cheap to allocate and cheap to free
 2, We always unconditionally free the entire chunk When and only when we load a new capture.
 
 ==>
 se_alloc() does exactly the same thing but with significantly less code
 
 ==>
 se_alloc() is a much better fit to out allocation requirements and useage than GMemChunks

Directory: /trunk/epan/dissectors/
  Changes    Path             Action
  +4 -38     packet-scsi.c    Modified



http://anonsvn.ethereal.com/viewcvs/viewcvs.py?rev=15303&view=rev