Memory leak in SVDR LSTE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Stefan Huelswitt wrote:
> Hi,
> I found that there is a memory leak in the SVDR LSTE command.
> The socket file descriptor is fdopen'ed to dump the schedule
> data, but the stream is never fclose'ed. The memory associated
> with the stream is lost.
> 
> As simply fclosing the stream would close the socket as well, the
> solution is to dup the socket first.
> 
> Patch attached.

Please make future patches so that they don't cause so many unnecessary
whitespace changes ;-)

Klaus


[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux