[mythtv-commits] Ticket #5695: remove superflous memset in my_malloc

MythTV mythtv at cvs.mythtv.org
Sat Sep 6 20:26:03 UTC 2008

#5695: remove superflous memset in my_malloc
 Reporter:  Erik Hovland <erik at hovland.org>  |       Owner:  ijr    
     Type:  defect                           |      Status:  new    
 Priority:  trivial                          |   Milestone:  unknown
Component:  mythtv                           |     Version:  head   
 Severity:  low                              |     Mlocked:  0      
 my_malloc will zero out buf when it knows it is a valid pointer. So the
 memset before that check is superflous and dangerous.

Ticket URL: <http://svn.mythtv.org/trac/ticket/5695>
MythTV <http://www.mythtv.org/>

More information about the mythtv-commits mailing list