summaryrefslogtreecommitdiffstats
path: root/lib/utils_base.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/utils_base.c')
-rw-r--r--lib/utils_base.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/utils_base.c b/lib/utils_base.c
index c0bc4dc..a36eb68 100644
--- a/lib/utils_base.c
+++ b/lib/utils_base.c
@@ -120,10 +120,6 @@ _set_thresholds(thresholds **my_thresholds, char *warn_string, char *critical_st
120 } 120 }
121 } 121 }
122 122
123 if (*my_thresholds > 0) { /* Not sure why, but sometimes could be -1 */
124 /* printf("Freeing here: %d\n", *my_thresholds); */
125 free(*my_thresholds);
126 }
127 *my_thresholds = temp_thresholds; 123 *my_thresholds = temp_thresholds;
128 124
129 return 0; 125 return 0;