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



Stefan Huelswitt wrote:
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);

Thanks for the patch, Stefan.  I am using it and it works well.

@Klause:  do you have any comments about this patch?


Best Regards,




Home | Main Index | Thread Index