983:b040340bf64d | 984:e8f354a25ac8 |
---|---|
202 /** | 202 /** |
203 * Deallocates the memory of the specified map. | 203 * Deallocates the memory of the specified map. |
204 * | 204 * |
205 * @param map the map to be destroyed | 205 * @param map the map to be destroyed |
206 */ | 206 */ |
207 __attribute__((__nonnull__)) | |
208 static inline void cxMapDestroy(CxMap *map) { | 207 static inline void cxMapDestroy(CxMap *map) { |
208 if (map == NULL) return; | |
209 map->cl->destructor(map); | 209 map->cl->destructor(map); |
210 } | 210 } |
211 | 211 |
212 | 212 |
213 /** | 213 /** |