[icinga-checkins] icinga.org: icinga-core/gbeutner/style: Removed unused my_free define.

git at icinga.org git at icinga.org
Wed Jul 13 13:33:42 CEST 2011


Module: icinga-core
Branch: gbeutner/style
Commit: 0c5fb30a5f61374b4b602aa8b8da0030fe77daee
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=0c5fb30a5f61374b4b602aa8b8da0030fe77daee

Author: Gunnar Beutner <gunnar.beutner at netways.de>
Date:   Wed Jul 13 08:06:18 2011 +0200

Removed unused my_free define.

---

 module/idoutils/include/utils.h |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/module/idoutils/include/utils.h b/module/idoutils/include/utils.h
index f87bf23..be19edf 100644
--- a/module/idoutils/include/utils.h
+++ b/module/idoutils/include/utils.h
@@ -9,9 +9,6 @@
 #ifndef _IDO_UTILS_H
 #define _IDO_UTILS_H
 
-/* my_free has been freed from bondage as a function */
-#define my_free(ptr) do { if(ptr) { free(ptr); ptr = NULL; } } while(0)
-
 typedef struct ido_dbuf_struct
 {
 	char *buf;





More information about the icinga-checkins mailing list