diff --git a/ChangeLog b/ChangeLog index bcff91f..6065747 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,7 @@ Spotted by Vitaly Kruglikov, Vitaly dot Kruglikov at palm dot com * optimizations to json_tokener_parse_ex(), printbuf_memappend() Brent Miller, bdmiller at yahoo dash inc dot com + * Disable REFCOUNT_DEBUG by default in json_object.c * Don't use this as a variable, so we can compile with a C++ compiler * Add casts from void* to type of assignment when using malloc * Add #ifdef __cplusplus guards to all of the headers diff --git a/json_object.c b/json_object.c index e412e4f..f52445c 100644 --- a/json_object.c +++ b/json_object.c @@ -27,7 +27,7 @@ char* strndup(const char* str, size_t n); #endif /* !HAVE_STRNDUP */ -#define REFCOUNT_DEBUG 1 +/* #define REFCOUNT_DEBUG 1 */ const char *json_number_chars = "0123456789.+-eE"; const char *json_hex_chars = "0123456789abcdef";