diff options
| author | Christian Franke <chris@opensourcerouting.org> | 2017-01-31 16:22:54 +0100 |
|---|---|---|
| committer | Christian Franke <chris@opensourcerouting.org> | 2017-01-31 16:22:54 +0100 |
| commit | e322dbc73aebf011b2cb10f6dbbbb2061855b00b (patch) | |
| tree | c794a2ec421ae10dbceb185005d40ec66cb26fe9 /lib/memory.c | |
| parent | ee9964d4b4104d36bf90b538590857e4ca13a3fd (diff) | |
| parent | 26df3a33ae91edfdb5b69817050f773c430001ff (diff) | |
Merge branch 'master' into feature/zebra-srcdest
Diffstat (limited to 'lib/memory.c')
| -rw-r--r-- | lib/memory.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/memory.c b/lib/memory.c index f17915486c..b1dc01ed97 100644 --- a/lib/memory.c +++ b/lib/memory.c @@ -40,6 +40,7 @@ mt_count_alloc (struct memtype *mt, size_t size) static inline void mt_count_free (struct memtype *mt) { + assert(mt->n_alloc); mt->n_alloc--; } |
