historydb: Fix valgrind builds
This commit is contained in:
parent
d86a31d183
commit
78bc298df0
|
|
@ -90,7 +90,7 @@ static struct history_cell_t *historydb_alloc(void)
|
|||
#ifndef _FOR_VALGRIND_
|
||||
return cellmalloc( historydb_cells );
|
||||
#else
|
||||
return hmalloc(sizeof(struct history_cell_t)+packet_len);
|
||||
return hmalloc(sizeof(struct history_cell_t));
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue