used xmalloc instead of malloc
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Sun, 5 Mar 2006 01:19:41 +0000 (01:19 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Sun, 5 Mar 2006 01:19:41 +0000 (01:19 +0000)
[r7415]

ir/adt/bitset.h

index ae9d8a4..ad920a8 100644 (file)
@@ -109,7 +109,7 @@ static INLINE bitset_t *_bitset_mask_highest(bitset_t *bs)
  * @return A pointer to an empty initialized bitset.
  */
 #define bitset_malloc(size) \
-       _bitset_prepare(malloc(_bitset_overall_size(sizeof(bitset_t), size)), size)
+       _bitset_prepare(xmalloc(_bitset_overall_size(sizeof(bitset_t), size)), size)
 
 /**
  * Free a bitset allocated with bitset_malloc().