From ae69a754244c4e475c8d2591772ca8e005071d83 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 18 Feb 2019 11:55:41 +0100 Subject: Update to 5.42 --- README.hacking | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'README.hacking') diff --git a/README.hacking b/README.hacking index 6fc2fe5..451aec1 100644 --- a/README.hacking +++ b/README.hacking @@ -178,6 +178,12 @@ Programming Tips - On modern machines, OpenGL will always run faster than Xlib. It's also more portable. Consider writing in OpenGL whenever possible. + - Free any memory you allocate. While screen savers under X11 have + their memory freed automatically when their process is killed by + the XScreenSaver daemon, under iOS and Android screen savers exist + in long-lived processes where no such cleanup takes place. + Consider Valgrind or gcc -fsanitize=leak to find memory leaks. + ========================================================================== macOS, iOS and Android -- cgit v1.2.3-55-g7522