Fix an issue in Haiku that was detected by Coverity
completed by: Ezo
mentors: Urias McCullough, Philippe Saint-Pierre
When requesting this task the mentor will give you access to an account where you can review the most recent results of the Coverity scan of Haiku's source code. This report may shows hundreds of potential issues.
Figure out the correct fix for one of the listed issues and submit a patch. The patch will then be reviewed for correctness and credit given.