Opened 16 years ago
Closed 16 years ago
#5695 closed defect (fixed)
remove superflous memset in my_malloc
Reported by: | Owned by: | Isaac Richards | |
---|---|---|---|
Priority: | trivial | Milestone: | unknown |
Component: | mythtv | Version: | head |
Severity: | low | Keywords: | |
Cc: | Ticket locked: | no |
Description
my_malloc will zero out buf when it knows it is a valid pointer. So the memset before that check is superflous and dangerous.
Attachments (1)
Change History (2)
Changed 16 years ago by
Attachment: | programs_mythtranscode-pointer-checks.patch added |
---|
Note: See
TracTickets for help on using
tickets.
removes unneeded memset