Permalink
Browse files

api improvement+

  • Loading branch information...
1 parent 6bd5d6a commit f14c673a1b565b7b036fab485079df1aee65e9fb alexgirao committed Jun 3, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 higherc/higherc.h
View
@@ -96,7 +96,7 @@ void hcns(_p_alloc_fatal_error_happend)(void);
} \
spec void name##_free0(struct name *x) \
{ \
- assert(x); \
+ assert(x != NULL); \
while (x) { \
struct name *t = x->tail; \
HC_FREE(x); \

0 comments on commit f14c673

Please sign in to comment.