Opened 18 years ago
Closed 18 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)
Note:
See TracTickets
for help on using tickets.

removes unneeded memset