]> git.proxmox.com Git - mirror_frr.git/commit
lib: fix memory logging
authorDavid Ward <david.ward@ll.mit.edu>
Wed, 13 Jan 2010 17:10:56 +0000 (20:10 +0300)
committerDenis Ovsienko <infrastation@yandex.ru>
Wed, 13 Jan 2010 17:10:56 +0000 (20:10 +0300)
commit0917f7e7c5920b70295c44bd8aad537bc3ee8581
treed55fa58af8937c2373d532223cf9a7c35df95c64
parentb6516829595ed4fc47af955de8bda9ef5be14ffd
lib: fix memory logging

* lib/memory.h
  * mtype_zcalloc(): correct function prototype
  * XFREE(): make both definitions consistent in setting
    the pointer to NULL after freeing the memory

These changes will only have an effect if MEMORY_LOG is defined
(it is not by default).
lib/memory.h