Motion - Fix Mem Leak Netcam Rtsp
You are here: Foswiki>Motion Web>FixMemLeakNetcamRtsp (16 Dec 2014, ChristopheGRENIER)Edit Attach

Fix memor leak when using rtsp camera

Description of Patch

Fix various memory leak reported by valgrind.

Installation of Patch

Download the patch file. If it is packed as a gz or tar.gz unpack it first. Then copy it to the motion source directory and issue the command (assuming the patch file is called filename_of_patch_file.diff)

patch < filename_of_patch_file.diff

Then re-build Motion and test the patch.

Change History of Patch

  • 1.0 Initial revision - fix netcam_cleanup(), rtsp_free_context() and netcam_read_rtsp_image()

Discussion and Comments


Topic revision: r1 - 16 Dec 2014, ChristopheGRENIER
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.