diff options
author | Chris Hall <chris.hall.list.highwayman.com> | 2010-07-23 11:27:11 -0700 |
---|---|---|
committer | Paul Jakma <paul@quagga.net> | 2011-03-21 11:09:13 +0000 |
commit | cca85d27a59c31e1b20e4c4adc7d9bb57606e584 (patch) | |
tree | 2330a624f08c04a4125dc3153c97d93361c2da85 /lib/memory.h | |
parent | d1de1c25962b5470f3825bc82d15e4dd29e1f842 (diff) | |
download | quagga-cca85d27a59c31e1b20e4c4adc7d9bb57606e584.tar.bz2 quagga-cca85d27a59c31e1b20e4c4adc7d9bb57606e584.tar.xz |
lib: Fix accounting of memory
* lib/memory.c: (zrealloc) If is called with NULL pointer then it should
increment allocations because it behaves the same as zmalloc.
(zfree) is called with NULL pointer, it does nothing therefore allocation
count should not change.
Diffstat (limited to 'lib/memory.h')
0 files changed, 0 insertions, 0 deletions