diff options
Diffstat (limited to 'tal-debug.c')
-rw-r--r-- | tal-debug.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tal-debug.c b/tal-debug.c index 99fedb10e..3606cf574 100644 --- a/tal-debug.c +++ b/tal-debug.c @@ -76,6 +76,8 @@ __gmp_tmp_debug_alloc (const char *file, int line, struct tmp_debug_t *mark = *markp; struct tmp_debug_entry_t *p; + ASSERT_ALWAYS (size >= 1); + if (mark == NULL) { __gmp_assert_header (file, line); |