[PATCH] resource leak on failed subtitle load
Hi, the currently is a (very unlikely) resource leak, namely when subtitle loading fails because there already are too many (set_of_sub_size >= MAX_SUBTITLE_FILES). The attached patch fixes that and also makes MPlayer print an error message in this case, too (though it might be suboptimal that it is the same one no matter for what reason loading failed). Okay to apply? If no objections I will apply tomorrow or so. Greetings, Reimar Döffinger
Hi, On 3/8/06, Reimar Döffinger <Reimar.Doeffinger@stud.uni-karlsruhe.de> wrote:
the currently is a (very unlikely) resource leak,
Is that one of the many which have been detected by Coverity? Guillaume -- Reinventing the wheel certainly is annoying, but as long as all other wheels are square... Reimar Döffinger
Hi, On Wed, Mar 08, 2006 at 11:45:09AM +0100, Guillaume POIRIER wrote:
On 3/8/06, Reimar Döffinger <Reimar.Doeffinger@stud.uni-karlsruhe.de> wrote:
the currently is a (very unlikely) resource leak,
Is that one of the many which have been detected by Coverity?
Yes, though I am unsure of how many of those will be false positives. Right now I would expect 10 - 25%. Greetings, Reimar Döffinger
Hi, On 3/8/06, Reimar Döffinger <Reimar.Doeffinger@stud.uni-karlsruhe.de> wrote:
Hi, On Wed, Mar 08, 2006 at 11:45:09AM +0100, Guillaume POIRIER wrote:
On 3/8/06, Reimar Döffinger <Reimar.Doeffinger@stud.uni-karlsruhe.de> wrote:
the currently is a (very unlikely) resource leak,
Is that one of the many which have been detected by Coverity?
Yes, though I am unsure of how many of those will be false positives. Right now I would expect 10 - 25%.
Do you update the status of each "alerts" so that other people who have access to this record don't go through the same "alerts" if they have been fixed/declared as false positive already? Guillaume -- Reinventing the wheel certainly is annoying, but as long as all other wheels are square... Reimar Döffinger
Hi, On 3/8/06, Guillaume POIRIER <poirierg@gmail.com> wrote:
Hi,
On 3/8/06, Reimar Döffinger <Reimar.Doeffinger@stud.uni-karlsruhe.de> wrote:
Hi, On Wed, Mar 08, 2006 at 11:45:09AM +0100, Guillaume POIRIER wrote:
On 3/8/06, Reimar Döffinger <Reimar.Doeffinger@stud.uni-karlsruhe.de> wrote:
the currently is a (very unlikely) resource leak,
Is that one of the many which have been detected by Coverity?
Yes, though I am unsure of how many of those will be false positives. Right now I would expect 10 - 25%.
Do you update the status of each "alerts" so that other people who have access to this record don't go through the same "alerts" if they have been fixed/declared as false positive already?
nevermind, I've just refreshed the page, and both your and Oded have updated the status of the alerts you've inspected. Guillaume -- Reinventing the wheel certainly is annoying, but as long as all other wheels are square... Reimar Döffinger
participants (2)
-
Guillaume POIRIER -
Reimar Döffinger