mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-20 12:58:08 +01:00
To be consistent with RCreateXImage and because it should not be up to the caller to handle this, when XGetImage returns a NULL pointer then the function RGetXImage will also return NULL instead of an RXImage structure with a NULL pointer. This consistent behaviour helps fixing a memory leak in WMaker reported by Coverity (#50125). Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
6.5 KiB
6.5 KiB