--- a/src/cx/map.h Sun Nov 03 20:15:14 2024 +0100
+++ b/src/cx/map.h Thu Nov 07 20:22:56 2024 +0100
@@ -204,8 +204,8 @@
*
* @param map the map to be destroyed
*/
-__attribute__((__nonnull__))
static inline void cxMapDestroy(CxMap *map) {
+ if (map == NULL) return;
map->cl->destructor(map);
}