[FFmpeg-devel] [PATCH] tools/graph2dot: Add proper error handling to avoid potential memory leaks

Nicolas George george at nsup.org
Sat Aug 9 20:42:05 EEST 2025


Jiasheng Jiang (HE12025-08-09):
> Add proper error handling to release allocated memory to avoid potential memory leaks.

Once again, there are no leaks when the process exits. A short-lived
tool like that does not need cleanup, especially when it makes the code
longer.

Regards,

-- 
  Nicolas George


More information about the ffmpeg-devel mailing list