Mailing List archive

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

[vdr] vdr 1.3.20: using of free'd memory



Hi,
in recording.c cRecording::ScanVideoDir() is a place where
already free'd memory is used:

free(buffer);
buffer = ReadLink(buffer);

IMO this should be like:

char *old=buffer;
buffer = ReadLink(old);
free(old);

Regards.

-- 
Stefan Huelswitt
s.huelswitt@gmx.de  | http://www.muempf.de/




Home | Main Index | Thread Index