Ticket #163 (closed defect: fixed)
Patch: Fix a few missing calls to fclose and va_end
| Reported by: | markdoliner | Owned by: | smoku |
|---|---|---|---|
| Priority: | major | Component: | General |
| Version: | 2.1.17 | Keywords: | |
| Cc: | Tracforge_linkmap: | ||
| Blocking: | Blocked By: |
Description
I found a few places where fclose() wasn't being called and a file descriptor could be leaked, and a few other places where va_start() was called but va_end() was not.
This patch also contains a few minor spelling fixes and one change to a call to xhash_new(). The parameter to xhash_new is a prime number everywhere else, but I found somewhere in the current code where "9" is used, so I changed it to 11. I have a feeling that the hashing algorithm used doesn't actually care if the number if prime, but I figured it would be good to be consistent.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
