Colored debugging...
FossilOrigin-Name: 153201cffee624726d6bcd3e428c0d69d7cc9e9cba6a84a5687de94a850550dd
This commit is contained in:
@ -137,11 +137,12 @@ static int cw_action_out_cmp(const void *elem1, const void *elem2)
|
||||
*/
|
||||
void *cw_actionlist_add(struct avltree *t, void *a, size_t s)
|
||||
{
|
||||
|
||||
void *r = avltree_replace_data(t, a, sizeof(struct cw_action_in));
|
||||
if (r)
|
||||
return r;
|
||||
|
||||
void *an = malloc(sizeof(struct cw_action_in));
|
||||
void *an = malloc(s);
|
||||
if (!an)
|
||||
return NULL;
|
||||
|
||||
|
Reference in New Issue
Block a user