common: Smart up register_mem_cleanup_func.
authorWerner Koch <wk@gnupg.org>
Fri, 1 Jul 2016 12:42:18 +0000 (14:42 +0200)
committerWerner Koch <wk@gnupg.org>
Fri, 1 Jul 2016 14:27:43 +0000 (16:27 +0200)
commit6446a6b3dfd3b2e68b4285870f902ed1f86b0866
treeb94e5b024156581443e5953adce058d22e29375f
parent49fdd0887c84ed7f7b858b9e7ffa146fcb7f1e87
common: Smart up register_mem_cleanup_func.

* common/init.c (register_mem_cleanup_func): Avoid double registration.

Signed-off-by: Werner Koch <wk@gnupg.org>
common/init.c