diff options
Diffstat (limited to 'src/debug.c')
| -rw-r--r-- | src/debug.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/debug.c b/src/debug.c index 9b8d3f1..2cdeebf 100644 --- a/src/debug.c +++ b/src/debug.c | |||
| @@ -137,6 +137,7 @@ inline void debug_buffer_to_file(const char *file, const char *data, const int l | |||
| 137 | 137 | ||
| 138 | inline void debug_plist(plist_t plist) | 138 | inline void debug_plist(plist_t plist) |
| 139 | { | 139 | { |
| 140 | #ifndef STRIP_DEBUG_CODE | ||
| 140 | if (!plist) | 141 | if (!plist) |
| 141 | return; | 142 | return; |
| 142 | 143 | ||
| @@ -145,5 +146,6 @@ inline void debug_plist(plist_t plist) | |||
| 145 | plist_to_xml(plist, &buffer, &length); | 146 | plist_to_xml(plist, &buffer, &length); |
| 146 | debug_info("plist size: %i\nbuffer :\n%s", length, buffer); | 147 | debug_info("plist size: %i\nbuffer :\n%s", length, buffer); |
| 147 | free(buffer); | 148 | free(buffer); |
| 149 | #endif | ||
| 148 | } | 150 | } |
| 149 | 151 | ||
